Packages

eslint-plugin-import

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

Upgrading eslint-plugin-import From 1.16.0 to 2.32.0

63 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.16.0yours
  2. 2.0.0major
  3. 30 releases
  4. 2.21.0breaking
  5. 25 releases
  6. 2.28.1breaking
  7. 4 releases
  8. 2.32.0target

Before you upgrade

Tick each one off as you go
  • Breaking2.28.1
  • Breaking2.21.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking2.0.0

Release by release

  1. 2.32.0

    20 Jun 20257 new · 5 fixes
    • New

      Add [enforce-node-protocol-usage] rule and import/node-version setting ([#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]: add sortTypesGroup option to allow intragroup sorting of type-only imports ([#3104], thanks [@Xunnamius])

  2. 2.31.0

    3 Oct 20243 new · 5 fixes
    • New

      Support eslint v9 ([#2996], thanks [@G-Rath] [@michaelfaith])

    • New

      [order]: allow validating named imports ([#3043], thanks [@manuth])

    • New

      [extensions]: add the checkTypeImports option ([#2817], thanks [@phryneas])

    • Fixed

      ExportMap / flat config: include languageOptions in context ([#3052], thanks [@michaelfaith])

  3. 2.30.0

    3 Sep 20244 new · 5 fixes
    • New

      [dynamic-import-chunkname]: add allowEmpty option 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]: Add ignoreUnusedTypeExports option ([#3011], thanks [@silverwind])

    • New

      Add support for Flat Config ([#3018], thanks [@michaelfaith])

  4. 2.29.1

    14 Dec 20233 fixes
    • Fixed

      [no-extraneous-dependencies]: ignore export type { ... } from '...' when includeTypes is false ([#2919], thanks [@Pandemic1617])

    • Fixed

      [no-unused-modules]: support export patterns with array destructuring ([#2930], thanks [@ljharb])

    • Fixed

      Update tsconfig-paths ([#2447], thanks [@domdomegg])

  5. 2.29.0

    23 Oct 20233 new
    • New

      TypeScript config: add .cts and .mts extensions ([#2851], thanks [@Zamiell])

    • New

      [newline-after-import]: new option exactCount and docs update ([#1933], thanks [@anikethsaha] and [@reosarevok])

    • New

      [newline-after-import]: fix exactCount with considerComments false positive, when there is a leading comment ([#2884], thanks [@kinland])

  6. 2.28.1

    Migration needed18 Aug 2023
    • Breaking

      [order]: revert breaking change to single nested group ([#2854], thanks [@yndajas])

  7. 2.28.0

    28 Jul 202310 fixes
    • 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: Improve ExportMap.for performance on larger codebases ([#2756], thanks [@leipert])

    • Fixed

      [no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies ([#2735], thanks [@andyogo])

  8. 2.27.5

    16 Jan 20231 fix
    • Fixed

      [order]: Fix group ranks order when alphabetizing ([#2674], thanks [@Pearce-Ropion])

49 other lines we could not sort, mostly version bumps
  • Update flatConfig example to include typescript config ([#3138], thanks [@intellix])

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

    2.32.0
  • [no-cycle]: dont scc for each linted file ([#3068], thanks [@soryy708])

    2.31.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])

    2.30.0

70 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.