eslint-plugin-import
2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed
Upgrading eslint-plugin-import From 1.6.1 to 1.7.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
[
newline-after-import], new rule. ([#245], thanks [@singles]) - New
Added an
optionalDependenciesoption to [no-extraneous-dependencies] to allow/forbid optional dependencies ([#266], thanks [@jfmengels]). - New
Added
newlines-betweenoption to [order] rule ([#298], thanks [@singles]) - New
Add [
no-mutable-exports] rule ([#290], thanks [@josh]) - New
[
import/extensionssetting]: a list of file extensions to parse as modules and search forexports. If unspecified, all extensions are considered valid (for now). In v2, this will likely default to['.js', MODULE_EXT]. ([#297], to fix [#267]) - Fixed
[
extensions]: fallback to source path for extension enforcement if imported module is not resolved. Also, never report for builtins (i.e.path).
- New
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.