unstale

npm / eslint-plugin-no-barrel-files

eslint-plugin-no-barrel-files

What changed in eslint-plugin-no-barrel-files 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

2 breaking4 new APIs and options4 performance2 behavior and defaults5 tooling10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.6 on npm

eslint-plugin-no-barrel-files 221 changes

Breaking changes 2

  • The plugin now reports plain imports of types that are re-exported via export all.

    2.3.0release notes

  • The plugin now reports type-only imports when they are re-exported without the type modifier.

    2.3.0release notes

New APIs and options 3

Performance 4

Behavior and default changes 2

  • The plugin resolves default and namespace re-exports, allowing its rules to account for these re-export forms.

    2.3.0release notes

  • The plugin ignores intentional barrel imports.

    2.2.0release notes

Tooling 2

Fixes and other changes 8

  • Rules now provide meta.defaultOptions and schema descriptions.

    2.3.0release notes

  • Lockfile installs with npm 10 are supported.

    2.2.0release notes

  • Aliases from configured base paths are now resolved.

    2.1.0release notes

  • Local re-export barrels are now resolved.

    2.1.0release notes

  • Fixes detection of imports declared after exports.

    2.0.2release notes

  • Import fixes now account for aliases when resolving source imports.

    2.0.0release notes

  • Fixes re-export edge cases in the rule.

    2.0.0release notes

  • TypeScript is optional for prefer-source-imports.

    2.0.0release notes

eslint-plugin-no-barrel-files 16 changes

New APIs and options 1

Tooling 3

Fixes and other changes 2

  • Checks the local name rather than the exported name for named exports.

    1.4.0release notes

  • Fixes missing types in the build.

    1.4.0release notes