chore(deps): update dependency eslint-plugin-import to v2.26.0 #56

Merged
renovate[bot] merged 1 commit from renovate/eslint-plugin-import-2.x into main 2022-08-01 20:05:14 +00:00
renovate[bot] commented 2022-08-01 19:53:26 +00:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import ^2.23.4 -> 2.26.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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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.

This PR has been generated by Mend Renovate. View repository job log here.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-import](https://togithub.com/import-js/eslint-plugin-import) | [`^2.23.4` -> `2.26.0`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.23.4/2.26.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.26.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.26.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.26.0/compatibility-slim/2.23.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.26.0/confidence-slim/2.23.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>import-js/eslint-plugin-import</summary> ### [`v2.26.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2260---2022-04-05) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0) ##### Added - \[`no-named-default`, `no-default-export`, `prefer-default-export`, `no-named-export`, `export`, `named`, `namespace`, `no-unused-modules`]: support arbitrary module namespace names (\[[#&#8203;2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[`no-dynamic-require`]: support dynamic import with espree (\[[#&#8203;2371](https://togithub.com/import-js/eslint-plugin-import/issues/2371)], thanks \[[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[`no-relative-packages`]: add fixer (\[[#&#8203;2381](https://togithub.com/import-js/eslint-plugin-import/issues/2381)], thanks \[[@&#8203;forivall](https://togithub.com/forivall)]) ##### Fixed - \[`default`]: `typescript-eslint-parser`: avoid a crash on exporting as namespace (thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - \[`export`]/TypeScript: false positive for typescript namespace merging (\[[#&#8203;1964](https://togithub.com/import-js/eslint-plugin-import/issues/1964)], thanks \[[@&#8203;magarcia](https://togithub.com/magarcia)]) - \[`no-duplicates`]: ignore duplicate modules in different TypeScript module declarations (\[[#&#8203;2378](https://togithub.com/import-js/eslint-plugin-import/issues/2378)], thanks \[[@&#8203;remcohaszing](https://togithub.com/remcohaszing)]) - \[`no-unused-modules`]: avoid a crash when processing re-exports (\[[#&#8203;2388](https://togithub.com/import-js/eslint-plugin-import/issues/2388)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Tests] `no-nodejs-modules`: add tests for node protocol URL (\[[#&#8203;2367](https://togithub.com/import-js/eslint-plugin-import/issues/2367)], thanks \[[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[Tests] `default`, `no-anonymous-default-export`, `no-mutable-exports`, `no-named-as-default-member`, `no-named-as-default`: add tests for arbitrary module namespace names (\[[#&#8203;2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[Docs] \[`no-unresolved`]: Fix RegExp escaping in readme (\[[#&#8203;2332](https://togithub.com/import-js/eslint-plugin-import/issues/2332)], thanks \[[@&#8203;stephtr](https://togithub.com/stephtr)]) - \[Refactor] `namespace`: try to improve performance (\[[#&#8203;2340](https://togithub.com/import-js/eslint-plugin-import/issues/2340)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - \[Docs] make rule doc titles consistent (\[[#&#8203;2393](https://togithub.com/import-js/eslint-plugin-import/issues/2393)], thanks \[[@&#8203;TheJaredWilcurt](https://togithub.com/TheJaredWilcurt)]) - \[Docs] `order`: TS code examples should use TS code blocks (\[[#&#8203;2411](https://togithub.com/import-js/eslint-plugin-import/issues/2411)], thanks \[[@&#8203;MM25Zamanian](https://togithub.com/MM25Zamanian)]) - \[Docs] `no-unresolved`: fix link (\[[#&#8203;2417](https://togithub.com/import-js/eslint-plugin-import/issues/2417)], thanks \[[@&#8203;kylemh](https://togithub.com/kylemh)]) ### [`v2.25.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2254---2022-01-02) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.25.4) ##### Fixed - `importType`: avoid crashing on a non-string' (\[[#&#8203;2305](https://togithub.com/import-js/eslint-plugin-import/issues/2305)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - \[`first`]: prevent crash when parsing angular templates (\[[#&#8203;2210](https://togithub.com/import-js/eslint-plugin-import/issues/2210)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - `importType`: properly resolve `@/*`-aliased imports as internal (\[[#&#8203;2334](https://togithub.com/import-js/eslint-plugin-import/issues/2334)], thanks \[[@&#8203;ombene](https://togithub.com/ombene)]) - \[`named`]/`ExportMap`: handle named imports from CJS modules that use dynamic import (\[[#&#8203;2341](https://togithub.com/import-js/eslint-plugin-import/issues/2341)], thanks \[[@&#8203;ludofischer](https://togithub.com/ludofischer)]) ##### Changed - \[`no-default-import`]: report on the token "default" instead of the entire node (\[[#&#8203;2299](https://togithub.com/import-js/eslint-plugin-import/issues/2299)], thanks \[[@&#8203;pmcelhaney](https://togithub.com/pmcelhaney)]) - \[Docs] \[`order`]: Remove duplicate mention of default (\[[#&#8203;2280](https://togithub.com/import-js/eslint-plugin-import/issues/2280)], thanks \[[@&#8203;johnthagen](https://togithub.com/johnthagen)]) - \[Deps] update `eslint-module-utils` ### [`v2.25.3`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2253---2021-11-09) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.2...v2.25.3) ##### Fixed - \[`extensions`]: ignore unresolveable type-only imports (\[[#&#8203;2270](https://togithub.com/import-js/eslint-plugin-import/issues/2270)], \[[#&#8203;2271](https://togithub.com/import-js/eslint-plugin-import/issues/2271)], thanks \[[@&#8203;jablko](https://togithub.com/jablko)]) - `importType`: fix `isExternalModule` calculation (\[[#&#8203;2282](https://togithub.com/import-js/eslint-plugin-import/issues/2282)], thanks \[[@&#8203;mx-bernhard](https://togithub.com/mx-bernhard)]) - \[`no-import-module-exports`]: avoid false positives with a shadowed `module` or `exports` (\[[#&#8203;2297](https://togithub.com/import-js/eslint-plugin-import/issues/2297)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] \[`order`]: add type to the default groups (\[[#&#8203;2272](https://togithub.com/import-js/eslint-plugin-import/issues/2272)], thanks \[[@&#8203;charpeni](https://togithub.com/charpeni)]) - \[readme] Add note to TypeScript docs to install appropriate resolver (\[[#&#8203;2279](https://togithub.com/import-js/eslint-plugin-import/issues/2279)], thanks \[[@&#8203;johnthagen](https://togithub.com/johnthagen)]) - \[Refactor] `importType`: combine redundant `isScoped` and `isScopedModule` (thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - \[Docs] HTTP => HTTPS (\[[#&#8203;2287](https://togithub.com/import-js/eslint-plugin-import/issues/2287)], thanks \[[@&#8203;Schweinepriester](https://togithub.com/Schweinepriester)]) ### [`v2.25.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2252---2021-10-12) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.1...v2.25.2) ##### Fixed - \[Deps] update `eslint-module-utils` for real this time (\[[#&#8203;2255](https://togithub.com/import-js/eslint-plugin-import/issues/2255)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) ### [`v2.25.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2251---2021-10-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.0...v2.25.1) ##### Fixed - \[Deps] update `eslint-module-utils` ### [`v2.25.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2250---2021-10-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.0) ##### Added - Support `eslint` v8 (\[[#&#8203;2191](https://togithub.com/import-js/eslint-plugin-import/issues/2191)], thanks \[[@&#8203;ota-meshi](https://togithub.com/ota-meshi)]) - \[`no-unresolved`]: add `caseSensitiveStrict` option (\[[#&#8203;1262](https://togithub.com/import-js/eslint-plugin-import/issues/1262)], thanks \[[@&#8203;sergei-startsev](https://togithub.com/sergei-startsev)]) - \[`no-unused-modules`]: add eslint v8 support (\[[#&#8203;2194](https://togithub.com/import-js/eslint-plugin-import/issues/2194)], thanks \[[@&#8203;coderaiser](https://togithub.com/coderaiser)]) - \[`no-restricted-paths`]: add/restore glob pattern support (\[[#&#8203;2219](https://togithub.com/import-js/eslint-plugin-import/issues/2219)], thanks \[[@&#8203;stropho](https://togithub.com/stropho)]) - \[`no-unused-modules`]: support dynamic imports (\[[#&#8203;1660](https://togithub.com/import-js/eslint-plugin-import/issues/1660)], \[[#&#8203;2212](https://togithub.com/import-js/eslint-plugin-import/issues/2212)], thanks \[[@&#8203;maxkomarychev](https://togithub.com/maxkomarychev)], \[[@&#8203;aladdin-add](https://togithub.com/aladdin-add)], \[[@&#8203;Hypnosphi](https://togithub.com/Hypnosphi)]) ##### Fixed - \[`no-unresolved`]: ignore type-only imports (\[[#&#8203;2220](https://togithub.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@&#8203;jablko](https://togithub.com/jablko)]) - \[`order`]: fix sorting imports inside TypeScript module declarations (\[[#&#8203;2226](https://togithub.com/import-js/eslint-plugin-import/issues/2226)], thanks \[[@&#8203;remcohaszing](https://togithub.com/remcohaszing)]) - \[`default`], `ExportMap`: Resolve extended TypeScript configuration files (\[[#&#8203;2240](https://togithub.com/import-js/eslint-plugin-import/issues/2240)], thanks \[[@&#8203;mrmckeb](https://togithub.com/mrmckeb)]) ##### Changed - \[Refactor] switch to an internal replacement for `pkg-up` and `read-pkg-up` (\[[#&#8203;2047](https://togithub.com/import-js/eslint-plugin-import/issues/2047)], thanks \[[@&#8203;mgwalker](https://togithub.com/mgwalker)]) - \[patch] TypeScript config: remove `.d.ts` from \[`import/parsers` setting] and \[`import/extensions` setting] (\[[#&#8203;2220](https://togithub.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@&#8203;jablko](https://togithub.com/jablko)]) - \[Refactor] \[`no-unresolved`], \[`no-extraneous-dependencies`]: moduleVisitor usage (\[[#&#8203;2233](https://togithub.com/import-js/eslint-plugin-import/issues/2233)], thanks \[[@&#8203;jablko](https://togithub.com/jablko)]) ### [`v2.24.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2242---2021-08-24) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.1...v2.24.2) ##### Fixed - \[`named`], \[`namespace`]: properly handle ExportAllDeclarations (\[[#&#8203;2199](https://togithub.com/import-js/eslint-plugin-import/issues/2199)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) ### [`v2.24.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2241---2021-08-19) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.0...v2.24.1) ##### Fixed - `ExportMap`: Add default export when esModuleInterop is true and anything is exported (\[[#&#8203;2184](https://togithub.com/import-js/eslint-plugin-import/issues/2184)], thanks \[[@&#8203;Maxim-Mazurok](https://togithub.com/Maxim-Mazurok)]) - \[`named`], \[`namespace`]: properly set reexports on `export * as … from` (\[[#&#8203;1998](https://togithub.com/import-js/eslint-plugin-import/issues/1998)], \[[#&#8203;2161](https://togithub.com/import-js/eslint-plugin-import/issues/2161)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - \[`no-duplicates`]: correctly handle case of mixed default/named type imports (\[[#&#8203;2149](https://togithub.com/import-js/eslint-plugin-import/issues/2149)], thanks \[[@&#8203;GoodForOneFare](https://togithub.com/GoodForOneFare)], \[[@&#8203;nwalters512](https://togithub.com/nwalters512)]) - \[`no-duplicates`]: avoid crash with empty `import type {}` (\[[#&#8203;2201](https://togithub.com/import-js/eslint-plugin-import/issues/2201)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] `max-dependencies`: 📖 Document `ignoreTypeImports` option (\[[#&#8203;2196](https://togithub.com/import-js/eslint-plugin-import/issues/2196)], thanks \[[@&#8203;himynameisdave](https://togithub.com/himynameisdave)]) ### [`v2.24.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#&#8203;2240---2021-08-08) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0) ##### Added - \[`no-dynamic-require`]: add option `esmodule` (\[[#&#8203;1223](https://togithub.com/import-js/eslint-plugin-import/issues/1223)], thanks \[[@&#8203;vikr01](https://togithub.com/vikr01)]) - \[`named`]: add `commonjs` option (\[[#&#8203;1222](https://togithub.com/import-js/eslint-plugin-import/issues/1222)], thanks \[[@&#8203;vikr01](https://togithub.com/vikr01)]) - \[`no-namespace`]: Add `ignore` option (\[[#&#8203;2112](https://togithub.com/import-js/eslint-plugin-import/issues/2112)], thanks \[[@&#8203;aberezkin](https://togithub.com/aberezkin)]) - \[`max-dependencies`]: add option `ignoreTypeImports` (\[[#&#8203;1847](https://togithub.com/import-js/eslint-plugin-import/issues/1847)], thanks \[[@&#8203;rfermann](https://togithub.com/rfermann)]) ##### Fixed - \[`no-duplicates`]: ensure autofix avoids excessive newlines (\[[#&#8203;2028](https://togithub.com/import-js/eslint-plugin-import/issues/2028)], thanks \[[@&#8203;ertrzyiks](https://togithub.com/ertrzyiks)]) - \[`extensions`]: avoid crashing on partially typed import/export statements (\[[#&#8203;2118](https://togithub.com/import-js/eslint-plugin-import/issues/2118)], thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)]) - \[`no-extraneous-dependencies`]: add ESM intermediate package.json support (\[[#&#8203;2121](https://togithub.com/import-js/eslint-plugin-import/issues/2121)], thanks \[[@&#8203;paztis](https://togithub.com/paztis)]) - Use `context.getPhysicalFilename()` when available (ESLint 7.28+) (\[[#&#8203;2160](https://togithub.com/import-js/eslint-plugin-import/issues/2160)], thanks \[[@&#8203;pmcelhaney](https://togithub.com/pmcelhaney)]) - \[`extensions`]/`importType`: fix isScoped treating @&#8203;/abc as scoped module (\[[#&#8203;2146](https://togithub.com/import-js/eslint-plugin-import/issues/2146)], thanks \[[@&#8203;rperello](https://togithub.com/rperello)]) ##### Changed - \[Docs] \[`extensions`]: improved cases for using `@/...` (\[[#&#8203;2140](https://togithub.com/import-js/eslint-plugin-import/issues/2140)], thanks \[[@&#8203;wenfangdu](https://togithub.com/wenfangdu)]) - \[Docs] \[`extensions`]: removed incorrect cases (\[[#&#8203;2138](https://togithub.com/import-js/eslint-plugin-import/issues/2138)], thanks \[[@&#8203;wenfangdu](https://togithub.com/wenfangdu)]) - \[Tests] \[`order`]: add tests for `pathGroupsExcludedImportTypes: ['type']` (\[[#&#8203;2158](https://togithub.com/import-js/eslint-plugin-import/issues/2158)], thanks \[[@&#8203;atav32](https://togithub.com/atav32)]) - \[Docs] \[`order`]: improve the documentation for the `pathGroupsExcludedImportTypes` option (\[[#&#8203;2156](https://togithub.com/import-js/eslint-plugin-import/issues/2156)], thanks \[[@&#8203;liby](https://togithub.com/liby)]) - \[Tests] \[`no-cycle`]: Restructure test files (\[[#&#8203;1517](https://togithub.com/import-js/eslint-plugin-import/issues/1517)], thanks \[[@&#8203;soryy708](https://togithub.com/soryy708)]) - \[Docs] add description how to use plugin with yarn berry (\[[#&#8203;2179](https://togithub.com/import-js/eslint-plugin-import/issues/2179)], thanks \[[@&#8203;KostyaZgara](https://togithub.com/KostyaZgara)]) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/mcataford/rss-reader). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzUuMSIsInVwZGF0ZWRJblZlciI6IjMyLjEzNS4xIn0=-->
github-actions[bot] commented 2022-08-01 19:57:44 +00:00 (Migrated from github.com)

👀 Branch deployed at Website Draft URL: https://62e83032f8f7071f061ad093--sleepy-shaw-d8efec.netlify.app

:eyes: Branch deployed at Website Draft URL: https://62e83032f8f7071f061ad093--sleepy-shaw-d8efec.netlify.app
mcataford (Migrated from github.com) approved these changes 2022-08-01 20:05:09 +00:00
Sign in to join this conversation.
No description provided.