Packages

eslint-plugin-import

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

Your version

2.24.0

8 Aug 2021Where it was published

2.32.0 is the newest release of 2.x.

In short

4 new5 fixed6 internal

Release note

Added

  • [no-dynamic-require]: add option esmodule ([#1223], thanks [@vikr01])

  • [named]: add commonjs option ([#1222], thanks [@vikr01])

  • [no-namespace]: Add ignore option ([#2112], thanks [@aberezkin])

  • [max-dependencies]: add option ignoreTypeImports ([#1847], thanks [@rfermann])

Fixed

  • [no-duplicates]: ensure autofix avoids excessive newlines ([#2028], thanks [@ertrzyiks])

  • [extensions]: avoid crashing on partially typed import/export statements ([#2118], thanks [@ljharb])

  • [no-extraneous-dependencies]: add ESM intermediate package.json support ([#2121], thanks [@paztis])

  • Use context.getPhysicalFilename() when available (ESLint 7.28+) ([#2160], thanks [@pmcelhaney])

  • [extensions]/importType: fix isScoped treating @/abc as scoped module ([#2146], thanks [@rperello])

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.