Packages

eslint-plugin-import

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

Your version

2.21.0

8 Jun 2020Where it was published

2.32.0 is the newest release of 2.x.

In short

1 breaking6 new10 fixed3 changed3 internal

  • Breaking

    Bump minimum v7 version to v7.2.0

Release note

Added

  • [import/default]: support default export in TSExportAssignment ([#1528], thanks [@joaovieira])

  • [no-cycle]: add ignoreExternal option ([#1681], thanks [@sveyret])

  • [order]: Add support for TypeScript's "import equals"-expressions ([#1785], thanks [@manuth])

  • [import/default]: support default export in TSExportAssignment ([#1689], thanks [@Maxim-Mazurok])

  • [no-restricted-paths]: add custom message support ([#1802], thanks [@malykhinvi])

Fixed

  • [group-exports]: Flow type export awareness ([#1702], thanks [@ernestostifano])

  • [order]: Recognize pathGroup config for first group ([#1719], [#1724], thanks [@forivall], [@xpl])

  • [no-unused-modules]: Fix re-export not counting as usage when used in combination with import ([#1722], thanks [@Ephem])

  • [no-duplicates]: Handle TS import type ([#1676], thanks [@kmui2])

  • [newline-after-import]: recognize decorators ([#1139], thanks [@atos1990])

  • [no-unused-modules]: Revert "[flow] [no-unused-modules]: add flow type support" ([#1770], thanks [@Hypnosphi])

  • TypeScript: Add nested namespace handling ([#1763], thanks [@julien1619])

  • [namespace]/ExportMap: Fix interface declarations for TypeScript ([#1764], thanks [@julien1619])

  • [no-unused-modules]: avoid order-dependence ([#1744], thanks [@darkartur])

  • [no-internal-modules]: also check export from syntax ([#1691], thanks [@adjerbetian])

  • TypeScript: [export]: avoid a crash with export = ([#1801], thanks [@ljharb])

Changed

  • [no-extraneous-dependencies]: use moduleVisitor ([#1735], thanks [@adamborowski])

  • TypeScript config: Disable [named] ([#1726], thanks [@astorije])

  • Remove duplicate [no-unused-modules] from docs ([#1690], thanks [@arvigeus])

  • Breaking

    Bump minimum v7 version to v7.2.0

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.