From 73d39ed45b469612cc3859c7420ec7af32a7222c Mon Sep 17 00:00:00 2001 From: Cameron Clark Date: Thu, 19 Dec 2024 22:14:28 +0000 Subject: [PATCH] refactor(linter): renamce `flat.rs` to `config.rs` --- crates/oxc_linter/src/config/{flat.rs => config.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.rs} (100%) diff --git a/crates/oxc_linter/src/config/flat.rs b/crates/oxc_linter/src/config/config.rs similarity index 100% rename from crates/oxc_linter/src/config/flat.rs rename to crates/oxc_linter/src/config/config.rs diff --git a/crates/oxc_linter/src/config/mod.rs b/crates/oxc_linter/src/config/mod.rs index 03228e26b649ae..b3712cbb9fc8b2 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; mod env; -mod flat; mod globals; mod overrides; mod oxlintrc; mod plugins; mod rules; mod settings; +pub use config::ConfigStore; +pub(crate) use config::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;