Packages

eslint-plugin-import

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

Your version

2.20.0

11 Jan 2020Where it was published

2.32.0 is the newest release of 2.x.

In short

3 new5 fixed1 internal

Release note

Added

  • [order]: added caseInsensitive as an additional option to alphabetize ([#1586], thanks [@dbrewer5])

  • [no-restricted-paths]: New except option per zone, allowing exceptions to be defined for a restricted zone ([#1238], thanks [@rsolomon])

  • [order]: add option pathGroupsExcludedImportTypes to allow ordering of external import types ([#1565], thanks [@Mairu])

Fixed

  • [no-unused-modules]: fix usage of [import/extensions setting] ([#1560], thanks [@stekycz])

  • [extensions]: ignore non-main modules ([#1563], thanks [@saschanaz])

  • TypeScript config: lookup for external modules in @types folder ([#1526], thanks [@joaovieira])

  • [no-extraneous-dependencies]: ensure node.source is truthy ([#1589], thanks [@ljharb])

  • [extensions]: Ignore query strings when checking for extensions ([#1572], thanks [@pcorpet])

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.