eslint-plugin-import
2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed
1.16.0 is the newest release of 1.x.
In short
5 new1 fixed
Release note
Added
[
newline-after-import], new rule. ([#245], thanks [@singles])Added an
optionalDependenciesoption to [no-extraneous-dependencies] to allow/forbid optional dependencies ([#266], thanks [@jfmengels]).Added
newlines-betweenoption to [order] rule ([#298], thanks [@singles])[
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). ([#296])
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.