--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid_default_named_alias_reexport.ts --- # Input ```ts export { default as module2 } from "./module2"; ``` # Diagnostics ``` invalid_default_named_alias_reexport.ts:1:1 lint/nursery/noBarrelFile ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! Avoid barrel files, they slow down performance, and cause large module graphs with modules that go unused. > 1 │ export { default as module2 } from "./module2"; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ i Check this thorough explanation to better understand the context. ```