Packages

eslint-plugin-import

2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed

Your version

2.32.0

Latest20 Jun 2025Where it was published

In short

7 new5 fixed2 changed5 internal

Release note

Added

  • Add [enforce-node-protocol-usage] rule and import/node-version setting ([#3024], thanks [@GoldStrikeArch] and [@sevenc-nanashi])

  • Add TypeScript types ([#3097], thanks [@G-Rath])

  • [extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier ([#3105], thanks [@Xunnamius])

  • [order]: add sortTypesGroup option to allow intragroup sorting of type-only imports ([#3104], thanks [@Xunnamius])

  • [order]: add newlines-between-types option to control intragroup sorting of type-only imports ([#3127], thanks [@Xunnamius])

  • order: add consolidateIslands option to collapse excess spacing for aesthetically pleasing imports (#3129, thanks @Xunnamius)

Fixed

  • [no-unused-modules]: provide more meaningful error message when no .eslintrc is present ([#3116], thanks [@michaelfaith])

  • configs: Added missing name attribute for eslint config inspector ([#3151], thanks [@NishargShah])

  • [order]: ensure arcane imports do not cause undefined behavior ([#3128], thanks [@Xunnamius])

  • [order]: resolve undefined property access issue when using named ordering ([#3166], thanks [@Xunnamius])

  • [enforce-node-protocol-usage]: avoid a crash with some TS code ([#3173], thanks [@ljharb])

  • order: codify invariants from docs into config schema (#3152, thanks @Xunnamius)

Changed

  • Update flatConfig example to include typescript config ([#3138], thanks [@intellix])

  • [order]: remove unnecessary negative check ([#3167], thanks [@JounQin])

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.