Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency eslint-plugin-import to v2 #502

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Jul 2, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import ^1.9.2 -> ^2.0.0 age adoption passing confidence

Release Notes

import-js/eslint-plugin-import

v2.26.0

Compare Source

Added
  • [no-named-default, no-default-export, prefer-default-export, no-named-export, export, named, namespace, no-unused-modules]: support arbitrary module namespace names ([#​2358], thanks [@​sosukesuzuki])
  • [no-dynamic-require]: support dynamic import with espree ([#​2371], thanks [@​sosukesuzuki])
  • [no-relative-packages]: add fixer ([#​2381], thanks [@​forivall])
Fixed
  • [default]: typescript-eslint-parser: avoid a crash on exporting as namespace (thanks [@​ljharb])
  • [export]/TypeScript: false positive for typescript namespace merging ([#​1964], thanks [@​magarcia])
  • [no-duplicates]: ignore duplicate modules in different TypeScript module declarations ([#​2378], thanks [@​remcohaszing])
  • [no-unused-modules]: avoid a crash when processing re-exports ([#​2388], thanks [@​ljharb])
Changed

v2.25.4

Compare Source

Fixed
Changed
  • [no-default-import]: report on the token "default" instead of the entire node ([#​2299], thanks [@​pmcelhaney])
  • [Docs] [order]: Remove duplicate mention of default ([#​2280], thanks [@​johnthagen])
  • [Deps] update eslint-module-utils

v2.25.3

Compare Source

Fixed
Changed

v2.25.2

Compare Source

Fixed

v2.25.1

Compare Source

Fixed
  • [Deps] update eslint-module-utils

v2.25.0

Compare Source

Added
Fixed
Changed
  • [Refactor] switch to an internal replacement for pkg-up and read-pkg-up ([#​2047], thanks [@​mgwalker])
  • [patch] TypeScript config: remove .d.ts from [import/parsers setting] and [import/extensions setting] ([#​2220], thanks [@​jablko])
  • [Refactor] [no-unresolved], [no-extraneous-dependencies]: moduleVisitor usage ([#​2233], thanks [@​jablko])

v2.24.2

Compare Source

Fixed
  • [named], [namespace]: properly handle ExportAllDeclarations ([#​2199], thanks [@​ljharb])

v2.24.1

Compare Source

Fixed
Changed

v2.24.0

Compare Source

Added
Fixed
  • [no-duplicates]: ensure autofix avoids excessive newlines ([#​2028], thanks [@​ertrzyiks])
  • [extensions]: avoid crashing on partially typed import/export statements ([#​2118], thanks [@​ljharb])
  • [no-extraneous-dependencies]: add ESM intermediate package.json support ([#​2121], thanks [@​paztis])
  • Use context.getPhysicalFilename() when available (ESLint 7.28+) ([#​2160], thanks [@​pmcelhaney])
  • [extensions]/importType: fix isScoped treating @​/abc as scoped module ([#​2146], thanks [@​rperello])
Changed

v2.23.4

Compare Source

Fixed
  • [no-import-module-exports]: Don't crash if packages have no entrypoint ([#​2099], thanks [@​eps1lon])
  • [no-extraneous-dependencies]: fix package name algorithm ([#​2097], thanks [@​paztis])

v2.23.3

Compare Source

Fixed
Changed
  • [Docs] Add no-relative-packages to list of to the list of rules ([#​2075], thanks [@​arvigeus])

v2.23.2

Compare Source

Changed
  • [meta] add safe-publish-latest; use prepublishOnly script for npm 7+

v2.23.1

Compare Source

Fixed

v2.23.0

Compare Source

Added
Fixed
Changed

v2.22.1

Compare Source

Fixed
  • [default]/TypeScript: avoid crash on export = with a MemberExpression ([#​1841], thanks [@​ljharb])
  • [extensions]/importType: Fix @​/abc being treated as scoped module ([#​1854], thanks [@​3nuc])
  • allow using rest operator in named export ([#​1878], thanks [@​foray1010])
  • [dynamic-import-chunkname]: allow single quotes to match Webpack support ([#​1848], thanks [@​straub])
Changed

v2.22.0

Compare Source

Added
  • [no-unused-modules]: consider exported TypeScript interfaces, types and enums ([#​1819], thanks [@​nicolashenry])
  • [no-cycle]: allow maxDepth option to be "∞" (thanks [@​ljharb])
Fixed
Changed

v2.21.2

Compare Source

Fixed
  • [order]: avoid a crash on TypeScript’s export import syntax ([#​1808], thanks [@​ljharb])
  • [newline-after-import]: consider TypeScript import = syntax' ([#​1811], thanks [@​ljharb])
  • [no-internal-modules]: avoid a crash on a named export declaration ([#​1814], thanks [@​ljharb])

v2.21.1

Compare Source

Fixed
  • TypeScript: [import/named]: avoid requiring typescript when not using TS ([#​1805], thanks [@​ljharb])

v2.21.0

Compare Source

Added
Fixed
Changed

v2.20.2

Compare Source

Fixed

v2.20.1

Compare Source

Fixed
Changed
  • [import/external-module-folders setting] behavior is more strict now: it will only match complete path segments ([#​1605], thanks [@​skozin])
  • [meta] fix "files" field to include/exclude the proper files ([#​1635], thanks [@​ljharb])
  • [Tests] order: Add TS import type tests ([#​1736], thanks [@​kmui2])

v2.20.0

Compare Source

Added
  • [order]: added caseInsensitive as an additional option to alphabetize ([#​1586], thanks [@​dbrewer5])
  • [no-restricted-paths]: New except option per zone, allowing exceptions to be defined for a restricted zone ([#​1238], thanks [@​rsolomon])
  • [order]: add option pathGroupsExcludedImportTypes to allow ordering of external import types ([#​1565], thanks [@​Mairu])
Fixed
Docs

v2.19.1

Compare Source

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

v2.19.0

Compare Source

Added
Fixed
Docs
Changed
  • [no-unused-modules]/eslint-module-utils: Avoid superfluous calls and code ([#​1551], thanks [@​brettz9])

v2.18.2

Compare Source

Fixed

v2.18.1

Compare Source

Fixed
Refactors
  • [no-extraneous-dependencies], importType: remove lodash ([#​1419], thanks [@​ljharb])

v2.18.0

Compare Source

Added
Fixed
Docs

v2.17.3

Compare Source

Fixed
Docs
  • add missing no-unused-modules in README ([#​1358], thanks [@​golopot])
  • [no-unused-modules]: Indicates usage, plugin defaults to no-op, and add description to main README.md ([#​1352], thanks [@​johndevedu])
  • Document env option for eslint-import-resolver-webpack ([#​1363], thanks [@​kgregory])

v2.17.2

Compare Source

Fixed

v2.17.1

Compare Source

Fixed
  • require v2.4 of eslint-module-utils ([#​1322])

v2.17.0

Compare Source

Added
Fixed

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

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


  • If you want to rebase/retry this PR, click this checkbox.

@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch 2 times, most recently from b1a93f9 to c796589 Compare July 9, 2021 20:13
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch from c796589 to 8c8462d Compare August 5, 2021 00:26
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch 2 times, most recently from 99d57e5 to 403a577 Compare September 13, 2021 16:08
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch from 403a577 to 1deca51 Compare October 4, 2021 16:19
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch from 1deca51 to f24ec4b Compare October 31, 2021 12:03
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch from f24ec4b to 408c522 Compare January 26, 2022 14:03
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/eslint-plugin-import-2.x branch from 408c522 to 30a797a Compare January 26, 2022 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants