Packages

eslint-plugin-import

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

Your version

2.28.0

28 Jul 2023Where it was published

2.32.0 is the newest release of 2.x.

In short

10 fixed3 changed3 internal

Release note

Fixed

  • [no-duplicates]: remove duplicate identifiers in duplicate imports ([#2577], thanks [@joe-matsec])

  • [consistent-type-specifier-style]: fix accidental removal of comma in certain cases ([#2754], thanks [@bradzacher])

  • ExportMap: Improve ExportMap.for performance on larger codebases ([#2756], thanks [@leipert])

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

  • [newline-after-import]/TypeScript: do not error when re-exporting a namespaced import ([#2832], thanks [@laurens-dg])

  • [order]: partial fix for [#2687] (thanks [@ljharb])

  • [no-duplicates]: Detect across type and regular imports ([#2835], thanks [@benkrejci])

  • [extensions]: handle . and .. properly ([#2778], thanks [@benasher44])

  • [no-unused-modules]: improve schema (thanks [@ljharb])

  • [no-unused-modules]: report error on binding instead of parent export ([#2842], thanks [@Chamion])

Changed

  • [exports-last]: use array.prototype.findlastindex (thanks [@ljharb])

  • [no-anonymous-default-export]: use object.fromentries (thanks [@ljharb])

  • [no-unused-modules]: use array.prototype.flatmap (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.