Packages

eslint-plugin-import

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

Your version

2.20.1

2 Feb 2020Where it was published

2.32.0 is the newest release of 2.x.

In short

1 new9 fixed1 internal

Release note

Fixed

  • [export]: Handle function overloading in *.d.ts ([#1619], thanks [@IvanGoncharov])

  • [no-absolute-path]: fix a crash with invalid import syntax ([#1616], thanks [@ljharb])

  • [import/external-module-folders setting] now correctly works with directories containing modules symlinked from node_modules ([#1605], thanks [@skozin])

  • [extensions]: for invalid code where name does not exist, do not crash ([#1613], thanks [@ljharb])

  • [extensions]: Fix scope regex ([#1611], thanks [@yordis])

  • [no-duplicates]: allow duplicate imports if one is a namespace and the other not ([#1612], thanks [@sveyret])

  • Add some missing rule meta schemas and types ([#1620], thanks [@bmish])

  • [named]: for importing from a module which re-exports named exports from a node_modules module ([#1569], [#1447], thanks [@redbugz], [@kentcdodds])

  • [order]: Fix alphabetize for mixed requires and imports ([#1626], thanks [@wschurman])

Changed

  • [import/external-module-folders setting] behavior is more strict now: it will only match complete path segments ([#1605], thanks [@skozin])

  • Fix "files" field to include/exclude the proper files ([#1635], thanks [@ljharb])

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.