eslint-plugin-import
2.32.0 · 20 Jun 2025MIT84.5M / weekRepositorynpmAtom feed
Upgrading eslint-plugin-import From 1.13.0 to 1.16.0
3 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Added [
no-dynamic-require] rule: forbidrequire()calls with expressions. ([#567], [#568], thanks [@jfmengels]) - New
Added [
no-internal-modules] rule: restrict deep package imports to specific folders. ([#485], thanks [@spalger]!) - New
[
extensions]: allow override of a chosen default with options object ([#555], thanks [@ljharb]!) - Fixed
[
no-named-as-default] no longer false-positives onexport default from '...'([#566], thanks [@preco21]) - Fixed
[
default]: allow re-export of values from ignored files as default ([#545], thanks [@skyrpex])
- New
- New
Added an
allowoption to [no-nodejs-modules] to allow exceptions ([#452], [#509], thanks [@jfmengels] and [@ljharb]). - New
Added [
no-absolute-path] rule ([#530], [#538], thanks [@jfmengels]) - New
[
max-dependencies] for specifying the maximum number of dependencies (bothimportandrequire) a module can have. (see [#489], thanks [@tizmagik]) - New
Added glob option to config for [
no-extraneous-dependencies], after much bikeshedding. Thanks, [@knpwrs]! - Fixed
[
no-named-as-default-member] Allow default import to have a property named "default" ([#507], [#508], thanks [@jquense] for both!)
- New
- New
[
import/parserssetting]: parse some dependencies (i.e. TypeScript!) with a different parser than the ESLint-configured parser. ([#503], thanks [@benmosher]) - Fixed
[
namespace] exception for get property fromnamespaceimport, which are re-export from commonjs module ([#499] fixes [#416], thanks [@wKich])
- 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.