Packages

eslint-plugin-import

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

Your version

2.26.0

5 Apr 2022Where it was published

2.32.0 is the newest release of 2.x.

In short

3 new4 fixed1 changed5 internal

Release note

Added

  • [no-named-default], [no-default-export], [prefer-default-export], [no-named-export], [export], [named], [namespace], [no-unused-modules]: support arbitrary module namespace names ([#2358], thanks [@sosukesuzuki])

  • [no-dynamic-require]: support dynamic import with espree ([#2371], thanks [@sosukesuzuki])

  • [no-relative-packages]: add fixer ([#2381], thanks [@forivall])

Fixed

  • [default]: typescript-eslint-parser: avoid a crash on exporting as namespace (thanks [@ljharb])

  • [export]/TypeScript: false positive for typescript namespace merging ([#1964], thanks [@magarcia])

  • [no-duplicates]: ignore duplicate modules in different TypeScript module declarations ([#2378], thanks [@remcohaszing])

  • [no-unused-modules]: avoid a crash when processing re-exports ([#2388], thanks [@ljharb])

Changed

  • [namespace]: try to improve performance ([#2340], 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.