Packages

eslint-plugin-import

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

Your version

2.22.0

27 Jun 2020Where it was published

2.32.0 is the newest release of 2.x.

In short

2 new8 fixed1 changed2 internal

Release note

Added

  • [no-unused-modules]: consider exported TypeScript interfaces, types and enums ([#1819], thanks [@nicolashenry])

  • [no-cycle]: allow maxDepth option to be "∞" (thanks [@ljharb])

Fixed

  • [order]/TypeScript: properly support import = object expressions ([#1823], thanks [@manuth])

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

  • [default]: avoid crash with export = ([#1822], thanks [@AndrewLeedham])

  • [order]/[newline-after-import]: ignore TypeScript's "export import object" ([#1830], thanks [@be5invis])

  • [dynamic-import-chunkname]/TypeScript: supports @typescript-eslint/parser ([#1833], thanks [@noelebrun])

  • [order]/TypeScript: ignore ordering of object imports ([#1831], thanks [@manuth])

  • [namespace]: do not report on shadowed import names ([#518], thanks [@ljharb])

  • [export]: avoid warning on export * as non-conflicts ([#1834], thanks [@ljharb])

Changed

  • [no-extraneous-dependencies]: add tests for importing types ([#1824], thanks [@taye])

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.