Packages

eslint-plugin-import

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

Your version

2.30.0

3 Sep 2024Where it was published

2.32.0 is the newest release of 2.x.

In short

4 new5 fixed7 changed4 internal

Release note

Added

  • [dynamic-import-chunkname]: add allowEmpty option to allow empty leading comments ([#2942], thanks [@JiangWeixian])

  • [dynamic-import-chunkname]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai])

  • [no-unused-modules]: Add ignoreUnusedTypeExports option ([#3011], thanks [@silverwind])

  • Add support for Flat Config ([#3018], thanks [@michaelfaith])

Fixed

Changed

  • [no-unused-modules]: add console message to help debug [#2866]

  • ExportMap: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708])

  • ExportMap: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708])

  • Migrate OSX tests to GHA ([ljharb#37], thanks [@aks-])

  • exportMapBuilder: avoid hoisting ([#2989], thanks [@soryy708])

  • ExportMap: extract "builder" logic to separate files ([#2991], thanks [@soryy708])

  • Clarify how to install the plugin ([#2993], thanks [@jwbth])

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.