From 952d7e46bfad4752f58683909464cca7b9743058 Mon Sep 17 00:00:00 2001 From: camc314 <18101008+camc314@users.noreply.github.com> Date: Sat, 21 Dec 2024 02:01:40 +0000 Subject: [PATCH] refactor(linter): rename `flat.rs` to `config.rs` (#8033) simply renames `flat.rs` to `config.rs` to more accurately reflect the file's purpose --- crates/oxc_linter/src/config/{flat.rs => config_store.rs} | 0 crates/oxc_linter/src/config/mod.rs | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename crates/oxc_linter/src/config/{flat.rs => config_store.rs} (100%) diff --git a/crates/oxc_linter/src/config/flat.rs b/crates/oxc_linter/src/config/config_store.rs similarity index 100% rename from crates/oxc_linter/src/config/flat.rs rename to crates/oxc_linter/src/config/config_store.rs diff --git a/crates/oxc_linter/src/config/mod.rs b/crates/oxc_linter/src/config/mod.rs index 03228e26b649a..7ab4bf56bf6dc 100644 --- a/crates/oxc_linter/src/config/mod.rs +++ b/crates/oxc_linter/src/config/mod.rs @@ -1,17 +1,17 @@ use std::path::PathBuf; mod categories; +mod config_store; mod env; -mod flat; mod globals; mod overrides; mod oxlintrc; mod plugins; mod rules; mod settings; +pub use config_store::ConfigStore; +pub(crate) use config_store::ResolvedLinterState; pub use env::OxlintEnv; -pub use flat::ConfigStore; -pub(crate) use flat::ResolvedLinterState; pub use globals::OxlintGlobals; pub use overrides::OxlintOverrides; pub use oxlintrc::Oxlintrc;