npm / eslint-plugin-import-x
eslint-plugin-import-x
What changed in eslint-plugin-import-x 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 deprecations1 new APIs and options2 behavior and defaults1 tooling7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initeslint-plugin-import-x 412 changes
Deprecations 1
The rule is a no-op on ESLint 10 or later for now, and emits a warning about this behavior.
New APIs and options 1
Suppresses the warning about
no-unused-modulesbeing a no-op on ESLint 10 or later.
Behavior and default changes 2
The setting now supports RegExp values for ignoring imports.
The rule's
ignoreoption now supports RegExp values.
Tooling 1
The peer dependency version range now includes ESLint 10 support.
Fixes and other changes 7
Package subpaths that resolve to a .d.ts file no longer require an extension.
The rule now checks Node.js subpath imports beginning with
#for extensions.The rule now handles
.d.tsfiles correctly.Querystrings and hash fragments are stripped when checking whether a file exists.
Case-sensitive path checks no longer crash when an ancestor directory returns EACCES or EPERM.
The rule now allows an exception for TypeScript resolution-mode import attributes.
The plugin is compatible with ESLint's
defineConfig.