eslint-plugin-import
2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed
2.32.0 is the newest release of 2.x.
In short
10 new10 fixed1 changed1 internal
Release note
Added
[
internal-regexsetting]: regex pattern for marking packages "internal" ([#1491], thanks [@Librazy])[
group-exports]: make aggregate module exports valid ([#1472], thanks [@atikenny])[
no-namespace]: Make rule fixable ([#1401], thanks [@TrevorBurnham])Support
parseForESLintfrom custom parser ([#1435], thanks [@JounQin])[
no-extraneous-dependencies]: Implement support for bundledDependencies ([#1436], thanks [@schmidsi]))[
no-unused-modules]: add flow type support ([#1542], thanks [@rfermann])[
order]: Adds support for pathGroups to allow ordering by defined patterns ([#795], [#1386], thanks [@Mairu])[
no-duplicates]: AddconsiderQueryStringoption : allow duplicate imports with different query strings ([#1107], thanks [@pcorpet]).[
order]: Add support for alphabetical sorting of import paths within import groups ([#1360], [#1105], [#629], thanks [@duncanbeevers], [@stropho], [@luczsoma], [@randallreedjr])[
no-commonjs]: addallowConditionalRequireoption ([#1439], thanks [@Pessimistress])
Fixed
[
default]: make error message less confusing ([#1470], thanks [@golopot])Improve performance of
ExportMap.forby only loading paths when necessary. ([#1519], thanks [@brendo])Support export of a merged TypeScript namespace declaration ([#1495], thanks [@benmunro])
[
order]: fix autofix to not move imports across fn calls ([#1253], thanks [@tihonove])[
prefer-default-export]: fix false positive with type export ([#1506], thanks [@golopot])[
extensions]: FixignorePackagesto produce errors ([#1521], thanks [@saschanaz])[
no-unused-modules]: fix crash due toexport *([#1496], thanks [@Taranys])[
no-cycle]: should not warn for Flow imports ([#1494], thanks [@maxmalov])[
order]: fix@someModuleconsidered asunknowninstead ofinternal([#1493], thanks [@aamulumi])[
no-extraneous-dependencies]: Checkexport from([#1049], thanks [@marcusdarmstrong])
Changed
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.