eslint-plugin-import
2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed
In short
7 new5 fixed2 changed5 internal
Release note
Added
Add [
enforce-node-protocol-usage] rule andimport/node-versionsetting ([#3024], thanks [@GoldStrikeArch] and [@sevenc-nanashi])[
extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier ([#3105], thanks [@Xunnamius])[
order]: addsortTypesGroupoption to allow intragroup sorting of type-only imports ([#3104], thanks [@Xunnamius])[
order]: addnewlines-between-typesoption to control intragroup sorting of type-only imports ([#3127], thanks [@Xunnamius])order: addconsolidateIslandsoption 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 usingnamedordering ([#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
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.