Skip to content

Update dependency eslint-plugin-import to v2.19.1

Matweb Bot requested to merge renovate/eslint-plugin-import-2.x into develop

This MR contains the following updates:

Package Type Update Change References
eslint-plugin-import devDependencies minor 2.18.2 -> 2.19.1 source

Release Notes

benmosher/eslint-plugin-import

v2.19.1

Compare Source

Fixed
  • [no-extraneous-dependencies]: ensure node.source exists

v2.19.0

Compare Source

Added
  • [internal-regex setting]: 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 parseForESLint from 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]: Add considerQueryString option : 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]: add allowConditionalRequire option ([#​1439], thanks [@​Pessimistress])
Fixed
  • [default]: make error message less confusing ([#​1470], thanks [@​golopot])
  • Improve performance of ExportMap.for by 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]: Fix ignorePackages to produce errors ([#​1521], thanks [@​saschanaz])
  • [no-unused-modules]: fix crash due to export * ([#​1496], thanks [@​Taranys])
  • [no-cycle]: should not warn for Flow imports ([#​1494], thanks [@​maxmalov])
  • [order]: fix @someModule considered as unknown instead of internal ([#​1493], thanks [@​aamulumi])
  • [no-extraneous-dependencies]: Check export from ([#​1049], thanks [@​marcusdarmstrong])
Docs
  • [no-useless-path-segments]: add docs for option commonjs ([#​1507], thanks [@​golopot])
Changed
  • [no-unused-modules]/eslint-module-utils: Avoid superfluous calls and code ([#​1551], thanks [@​brettz9])

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

Available now for GitLab: Renovate Pro with real-time webhook handling and priority job queue.

Merge request reports