https://biomejs.dev/linter/rules/no-barrel-file/
Biome only checks for export * in a file.
In oxlint, we can do better when --import-plugin is enabled, by displaying the total number of dependencies pulled into a given file by walking
|
pub loaded_modules: DashMap<CompactStr, Arc<ModuleRecord>, BuildHasherDefault<FxHasher>>, |
You can find similar plugins in https://github.com/oxc-project/oxc/tree/main/crates/oxc_linter/src/rules/import
https://biomejs.dev/linter/rules/no-barrel-file/
Biome only checks for
export *in a file.In oxlint, we can do better when
--import-pluginis enabled, by displaying the total number of dependencies pulled into a given file by walkingoxc/crates/oxc_syntax/src/module_record.rs
Line 41 in 6704546
You can find similar plugins in https://github.com/oxc-project/oxc/tree/main/crates/oxc_linter/src/rules/import