eslint-plugin-import
2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed
Upgrading eslint-plugin-import From 2.18.1 to 2.32.0
38 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 70
- new
- 147
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.28.1
- Breaking2.21.0
Release by release
- New
Add [
enforce-node-protocol-usage] rule andimport/node-versionsetting ([#3024], thanks [@GoldStrikeArch] and [@sevenc-nanashi]) - New
Add TypeScript types ([#3097], thanks [@G-Rath])
- New
[
extensions]: add `pathGroupOverrides to allow enforcement decision overrides based on specifier ([#3105], thanks [@Xunnamius]) - New
[
order]: addsortTypesGroupoption to allow intragroup sorting of type-only imports ([#3104], thanks [@Xunnamius])
- New
- New
Support eslint v9 ([#2996], thanks [@G-Rath] [@michaelfaith])
- New
[
order]: allow validating named imports ([#3043], thanks [@manuth]) - New
[
extensions]: add thecheckTypeImportsoption ([#2817], thanks [@phryneas]) - Fixed
ExportMap/ flat config: includelanguageOptionsin context ([#3052], thanks [@michaelfaith])
- New
- New
[
dynamic-import-chunkname]: addallowEmptyoption to allow empty leading comments ([#2942], thanks [@JiangWeixian]) - New
[
dynamic-import-chunkname]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai]) - New
[
no-unused-modules]: AddignoreUnusedTypeExportsoption ([#3011], thanks [@silverwind]) - New
Add support for Flat Config ([#3018], thanks [@michaelfaith])
- New
- Fixed
[
no-extraneous-dependencies]: ignoreexport type { ... } from '...'whenincludeTypesisfalse([#2919], thanks [@Pandemic1617]) - Fixed
[
no-unused-modules]: support export patterns with array destructuring ([#2930], thanks [@ljharb]) - Fixed
Update
tsconfig-paths([#2447], thanks [@domdomegg])
- Fixed
- New
TypeScript config: add .cts and .mts extensions ([#2851], thanks [@Zamiell])
- New
[
newline-after-import]: new optionexactCountand docs update ([#1933], thanks [@anikethsaha] and [@reosarevok]) - New
[
newline-after-import]: fixexactCountwithconsiderCommentsfalse positive, when there is a leading comment ([#2884], thanks [@kinland])
- New
- Breaking
[
order]: revert breaking change to single nested group ([#2854], thanks [@yndajas])
- Breaking
- Fixed
[
no-duplicates]: remove duplicate identifiers in duplicate imports ([#2577], thanks [@joe-matsec]) - Fixed
[
consistent-type-specifier-style]: fix accidental removal of comma in certain cases ([#2754], thanks [@bradzacher]) - Fixed
ExportMap: ImproveExportMap.forperformance on larger codebases ([#2756], thanks [@leipert]) - Fixed
[
no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies ([#2735], thanks [@andyogo])
- Fixed
- Fixed
[
order]: Fix group ranks order when alphabetizing ([#2674], thanks [@Pearce-Ropion])
- Fixed
42 other lines we could not sort, mostly version bumps
- 2.32.0
Update flatConfig example to include typescript config ([#3138], thanks [@intellix])
- 2.32.0
[
order]: remove unnecessary negative check ([#3167], thanks [@JounQin]) - 2.31.0
[
no-cycle]: dont scc for each linted file ([#3068], thanks [@soryy708]) - 2.30.0
[
no-unused-modules]: add console message to help debug [#2866] - 2.30.0
ExportMap: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708]) - 2.30.0
ExportMap: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708]) - 2.30.0
Migrate OSX tests to GHA ([ljharb#37], thanks [@aks-])
- 2.30.0
exportMapBuilder: avoid hoisting ([#2989], thanks [@soryy708]) - 2.30.0
ExportMap: extract "builder" logic to separate files ([#2991], thanks [@soryy708]) - 2.30.0
Clarify how to install the plugin ([#2993], thanks [@jwbth])
59 internal lines (docs, tests, tooling) left out.
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.