Garlic-Team / other-stuff

Random things
MIT License
21 stars 68 forks source link

chore(deps): update dependency eslint-plugin-import to v2.29.1 (ticketbot) #30

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import 2.25.4 -> 2.29.1 age adoption passing confidence

Release Notes

import-js/eslint-plugin-import (eslint-plugin-import) ### [`v2.29.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2291---2023-12-14) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1) ##### Fixed - \[`no-extraneous-dependencies`]: ignore `export type { ... } from '...'` when `includeTypes` is `false` (\[[#​2919](https://togithub.com/import-js/eslint-plugin-import/issues/2919)], thanks \[[@​Pandemic1617](https://togithub.com/Pandemic1617)]) - \[`no-unused-modules`]: support export patterns with array destructuring (\[[#​2930](https://togithub.com/import-js/eslint-plugin-import/issues/2930)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[Deps] update `tsconfig-paths` (\[[#​2447](https://togithub.com/import-js/eslint-plugin-import/issues/2447)], thanks \[[@​domdomegg](https://togithub.com/domdomegg)]) ### [`v2.29.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2290---2023-10-22) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0) ##### Added - TypeScript config: add .cts and .mts extensions (\[[#​2851](https://togithub.com/import-js/eslint-plugin-import/issues/2851)], thanks \[[@​Zamiell](https://togithub.com/Zamiell)]) - \[`newline-after-import`]: new option `exactCount` and docs update (\[[#​1933](https://togithub.com/import-js/eslint-plugin-import/issues/1933)], thanks \[[@​anikethsaha](https://togithub.com/anikethsaha)] and \[[@​reosarevok](https://togithub.com/reosarevok)]) - \[`newline-after-import`]: fix `exactCount` with `considerComments` false positive, when there is a leading comment (\[[#​2884](https://togithub.com/import-js/eslint-plugin-import/issues/2884)], thanks \[[@​kinland](https://togithub.com/kinland)]) ### [`v2.28.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2281---2023-08-18) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1) ##### Fixed - \[`order`]: revert breaking change to single nested group (\[[#​2854](https://togithub.com/import-js/eslint-plugin-import/issues/2854)], thanks \[[@​yndajas](https://togithub.com/yndajas)]) ##### Changed - \[Docs] remove duplicate fixable notices in docs (\[[#​2850](https://togithub.com/import-js/eslint-plugin-import/issues/2850)], thanks \[[@​bmish](https://togithub.com/bmish)]) ### [`v2.28.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2280---2023-07-27) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0) ##### Fixed - \[`no-duplicates`]: remove duplicate identifiers in duplicate imports (\[[#​2577](https://togithub.com/import-js/eslint-plugin-import/issues/2577)], thanks \[[@​joe-matsec](https://togithub.com/joe-matsec)]) - \[`consistent-type-specifier-style`]: fix accidental removal of comma in certain cases (\[[#​2754](https://togithub.com/import-js/eslint-plugin-import/issues/2754)], thanks \[[@​bradzacher](https://togithub.com/bradzacher)]) - \[Perf] `ExportMap`: Improve `ExportMap.for` performance on larger codebases (\[[#​2756](https://togithub.com/import-js/eslint-plugin-import/issues/2756)], thanks \[[@​leipert](https://togithub.com/leipert)]) - \[`no-extraneous-dependencies`]/TypeScript: do not error when importing inline type from dev dependencies (\[[#​1820](https://togithub.com/import-js/eslint-plugin-import/issues/1820)], thanks \[[@​andyogo](https://togithub.com/andyogo)]) - \[`newline-after-import`]/TypeScript: do not error when re-exporting a namespaced import (\[[#​2832](https://togithub.com/import-js/eslint-plugin-import/issues/2832)], thanks \[[@​laurens-dg](https://togithub.com/laurens-dg)]) - \[`order`]: partial fix for \[[#​2687](https://togithub.com/import-js/eslint-plugin-import/issues/2687)] (thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-duplicates`]: Detect across type and regular imports (\[[#​2835](https://togithub.com/import-js/eslint-plugin-import/issues/2835)], thanks \[[@​benkrejci](https://togithub.com/benkrejci)]) - \[`extensions`]: handle `.` and `..` properly (\[[#​2778](https://togithub.com/import-js/eslint-plugin-import/issues/2778)], thanks \[[@​benasher44](https://togithub.com/benasher44)]) - \[`no-unused-modules`]: improve schema (thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-unused-modules`]: report error on binding instead of parent export (\[[#​2842](https://togithub.com/import-js/eslint-plugin-import/issues/2842)], thanks \[[@​Chamion](https://togithub.com/Chamion)]) ##### Changed - \[Docs] \[`no-duplicates`]: fix example schema (\[[#​2684](https://togithub.com/import-js/eslint-plugin-import/issues/2684)], thanks \[[@​simmo](https://togithub.com/simmo)]) - \[Docs] \[`group-exports`]: fix syntax highlighting (\[[#​2699](https://togithub.com/import-js/eslint-plugin-import/issues/2699)], thanks \[[@​devinrhode2](https://togithub.com/devinrhode2)]) - \[Docs] \[`extensions`]: reference node ESM behavior (\[[#​2748](https://togithub.com/import-js/eslint-plugin-import/issues/2748)], thanks \[[@​xM8WVqaG](https://togithub.com/xM8WVqaG)]) - \[Refactor] \[`exports-last`]: use `array.prototype.findlastindex` (thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[Refactor] \[`no-anonymous-default-export`]: use `object.fromentries` (thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[Refactor] \[`no-unused-modules`]: use `array.prototype.flatmap` (thanks \[[@​ljharb](https://togithub.com/ljharb)]) ### [`v2.27.5`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2275---2023-01-16) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.4...v2.27.5) ##### Fixed - \[`order]`: Fix group ranks order when alphabetizing (\[[#​2674](https://togithub.com/import-js/eslint-plugin-import/issues/2674)], thanks \[[@​Pearce-Ropion](https://togithub.com/Pearce-Ropion)]) ### [`v2.27.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2274---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.3...v2.27.4) ##### Fixed - `semver` should be a prod dep (\[[#​2668](https://togithub.com/import-js/eslint-plugin-import/issues/2668)]) ### [`v2.27.3`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2273---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.2...v2.27.3) ##### Fixed - \[`no-empty-named-blocks`]: rewrite rule to only check import declarations (\[[#​2666](https://togithub.com/import-js/eslint-plugin-import/issues/2666)]) ### [`v2.27.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2272---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.1...v2.27.2) ##### Fixed - \[`no-duplicates`]: do not unconditionally require `typescript` (\[[#​2665](https://togithub.com/import-js/eslint-plugin-import/issues/2665)]) ### [`v2.27.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2271---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.0...v2.27.1) ##### Fixed - `array.prototype.flatmap` should be a prod dep (\[[#​2664](https://togithub.com/import-js/eslint-plugin-import/issues/2664)], thanks \[[@​cristobal](https://togithub.com/cristobal)]) ### [`v2.27.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2270---2023-01-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.0) ##### Added - \[`newline-after-import`]: add `considerComments` option (\[[#​2399](https://togithub.com/import-js/eslint-plugin-import/issues/2399)], thanks \[[@​pri1311](https://togithub.com/pri1311)]) - \[`no-cycle`]: add `allowUnsafeDynamicCyclicDependency` option (\[[#​2387](https://togithub.com/import-js/eslint-plugin-import/issues/2387)], thanks \[[@​GerkinDev](https://togithub.com/GerkinDev)]) - \[`no-restricted-paths`]: support arrays for `from` and `target` options (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`no-anonymous-default-export`]: add `allowNew` option (\[[#​2505](https://togithub.com/import-js/eslint-plugin-import/issues/2505)], thanks \[[@​DamienCassou](https://togithub.com/DamienCassou)]) - \[`order`]: Add `distinctGroup` option (\[[#​2395](https://togithub.com/import-js/eslint-plugin-import/issues/2395)], thanks \[[@​hyperupcall](https://togithub.com/hyperupcall)]) - \[`no-extraneous-dependencies`]: Add `includeInternal` option (\[[#​2541](https://togithub.com/import-js/eslint-plugin-import/issues/2541)], thanks \[[@​bdwain](https://togithub.com/bdwain)]) - \[`no-extraneous-dependencies`]: Add `includeTypes` option (\[[#​2543](https://togithub.com/import-js/eslint-plugin-import/issues/2543)], thanks \[[@​bdwain](https://togithub.com/bdwain)]) - \[`order`]: new `alphabetize.orderImportKind` option to sort imports with same path based on their kind (`type`, `typeof`) (\[[#​2544](https://togithub.com/import-js/eslint-plugin-import/issues/2544)], thanks \[[@​stropho](https://togithub.com/stropho)]) - \[`consistent-type-specifier-style`]: add rule (\[[#​2473](https://togithub.com/import-js/eslint-plugin-import/issues/2473)], thanks \[[@​bradzacher](https://togithub.com/bradzacher)]) - Add \[`no-empty-named-blocks`] rule (\[[#​2568](https://togithub.com/import-js/eslint-plugin-import/issues/2568)], thanks \[[@​guilhermelimak](https://togithub.com/guilhermelimak)]) - \[`prefer-default-export`]: add "target" option (\[[#​2602](https://togithub.com/import-js/eslint-plugin-import/issues/2602)], thanks \[[@​azyzz228](https://togithub.com/azyzz228)]) - \[`no-absolute-path`]: add fixer (\[[#​2613](https://togithub.com/import-js/eslint-plugin-import/issues/2613)], thanks \[[@​adipascu](https://togithub.com/adipascu)]) - \[`no-duplicates`]: support inline type import with `inlineTypeImport` option (\[[#​2475](https://togithub.com/import-js/eslint-plugin-import/issues/2475)], thanks \[[@​snewcomer](https://togithub.com/snewcomer)]) ##### Fixed - \[`order`]: move nested imports closer to main import entry (\[[#​2396](https://togithub.com/import-js/eslint-plugin-import/issues/2396)], thanks \[[@​pri1311](https://togithub.com/pri1311)]) - \[`no-restricted-paths`]: fix an error message (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`no-restricted-paths`]: use `Minimatch.match` instead of `minimatch` to comply with Windows Native paths (\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://togithub.com/AdriAt360)]) - \[`order`]: require with member expression could not be fixed if alphabetize.order was used (\[[#​2490](https://togithub.com/import-js/eslint-plugin-import/issues/2490)], thanks \[[@​msvab](https://togithub.com/msvab)]) - \[`order`]: leave more space in rankings for consecutive path groups (\[[#​2506](https://togithub.com/import-js/eslint-plugin-import/issues/2506)], thanks \[[@​Pearce-Ropion](https://togithub.com/Pearce-Ropion)]) - \[`no-cycle`]: add ExportNamedDeclaration statements to dependencies (\[[#​2511](https://togithub.com/import-js/eslint-plugin-import/issues/2511)], thanks \[[@​BenoitZugmeyer](https://togithub.com/BenoitZugmeyer)]) - \[`dynamic-import-chunkname`]: prevent false report on a valid webpack magic comment (\[[#​2330](https://togithub.com/import-js/eslint-plugin-import/issues/2330)], thanks \[[@​mhmadhamster](https://togithub.com/mhmadhamster)]) - \[`export`]: do not error on TS export overloads (\[[#​1590](https://togithub.com/import-js/eslint-plugin-import/issues/1590)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`no-unresolved`], \[`extensions`]: ignore type only exports (\[[#​2436](https://togithub.com/import-js/eslint-plugin-import/issues/2436)], thanks \[[@​Lukas-Kullmann](https://togithub.com/Lukas-Kullmann)]) - `ExportMap`: add missing param to function (\[[#​2589](https://togithub.com/import-js/eslint-plugin-import/issues/2589)], thanks \[[@​Fdawgs](https://togithub.com/Fdawgs)]) - \[`no-unused-modules`]: `checkPkgFieldObject` filters boolean fields from checks (\[[#​2598](https://togithub.com/import-js/eslint-plugin-import/issues/2598)], thanks \[[@​mpint](https://togithub.com/mpint)]) - \[`no-cycle`]: accept Flow `typeof` imports, just like `type` (\[[#​2608](https://togithub.com/import-js/eslint-plugin-import/issues/2608)], thanks \[[@​gnprice](https://togithub.com/gnprice)]) - \[`no-import-module-exports`]: avoid a false positive for import variables (\[[#​2315](https://togithub.com/import-js/eslint-plugin-import/issues/2315)], thanks \[[@​BarryThePenguin](https://togithub.com/BarryThePenguin)]) ##### Changed - \[Tests] \[`named`]: Run all TypeScript test (\[[#​2427](https://togithub.com/import-js/eslint-plugin-import/issues/2427)], thanks \[[@​ProdigySim](https://togithub.com/ProdigySim)]) - \[readme] note use of typescript in readme `import/extensions` section (\[[#​2440](https://togithub.com/import-js/eslint-plugin-import/issues/2440)], thanks \[[@​OutdatedVersion](https://togithub.com/OutdatedVersion)]) - \[Docs] \[`order`]: use correct default value (\[[#​2392](https://togithub.com/import-js/eslint-plugin-import/issues/2392)], thanks \[[@​hyperupcall](https://togithub.com/hyperupcall)]) - \[meta] replace git.io link in comments with the original URL (\[[#​2444](https://togithub.com/import-js/eslint-plugin-import/issues/2444)], thanks \[[@​liby](https://togithub.com/liby)]) - \[Docs] remove global install in readme (\[[#​2412](https://togithub.com/import-js/eslint-plugin-import/issues/2412)], thanks \[[@​aladdin-add](https://togithub.com/aladdin-add)]) - \[readme] clarify `eslint-import-resolver-typescript` usage (\[[#​2503](https://togithub.com/import-js/eslint-plugin-import/issues/2503)], thanks \[[@​JounQin](https://togithub.com/JounQin)]) - \[Refactor] \[`no-cycle`]: Add per-run caching of traversed paths (\[[#​2419](https://togithub.com/import-js/eslint-plugin-import/issues/2419)], thanks \[[@​nokel81](https://togithub.com/nokel81)]) - \[Performance] `ExportMap`: add caching after parsing for an ambiguous module (\[[#​2531](https://togithub.com/import-js/eslint-plugin-import/issues/2531)], thanks \[[@​stenin-nikita](https://togithub.com/stenin-nikita)]) - \[Docs] \[`no-useless-path-segments`]: fix paths (\[[#​2424](https://togithub.com/import-js/eslint-plugin-import/issues/2424)], thanks \[[@​s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w)]) - \[Tests] \[`no-cycle`]: add passing test cases (\[[#​2438](https://togithub.com/import-js/eslint-plugin-import/issues/2438)], thanks \[[@​georeith](https://togithub.com/georeith)]) - \[Refactor] \[`no-extraneous-dependencies`] improve performance using cache (\[[#​2374](https://togithub.com/import-js/eslint-plugin-import/issues/2374)], thanks \[[@​meowtec](https://togithub.com/meowtec)]) - \[meta] `CONTRIBUTING.md`: mention inactive PRs (\[[#​2546](https://togithub.com/import-js/eslint-plugin-import/issues/2546)], thanks \[[@​stropho](https://togithub.com/stropho)]) - \[readme] make json for setting groups multiline (\[[#​2570](https://togithub.com/import-js/eslint-plugin-import/issues/2570)], thanks \[[@​bertyhell](https://togithub.com/bertyhell)]) - \[Tests] \[`no-restricted-paths`]: Tests for `import type` statements (\[[#​2459](https://togithub.com/import-js/eslint-plugin-import/issues/2459)], thanks \[[@​golergka](https://togithub.com/golergka)]) - \[Tests] \[`no-restricted-paths`]: fix one failing `import type` test case, submitted by \[[@​golergka](https://togithub.com/golergka)], thanks \[[@​azyzz228](https://togithub.com/azyzz228)] - \[Docs] automate docs with eslint-doc-generator (\[[#​2582](https://togithub.com/import-js/eslint-plugin-import/issues/2582)], thanks \[[@​bmish](https://togithub.com/bmish)]) - \[readme] Increase clarity around typescript configuration (\[[#​2588](https://togithub.com/import-js/eslint-plugin-import/issues/2588)], thanks \[[@​Nfinished](https://togithub.com/Nfinished)]) - \[Docs] update `eslint-doc-generator` to v1.0.0 (\[[#​2605](https://togithub.com/import-js/eslint-plugin-import/issues/2605)], thanks \[[@​bmish](https://togithub.com/bmish)]) - \[Perf] \[`no-cycle`], \[`no-internal-modules`], \[`no-restricted-paths`]: use `anyOf` instead of `oneOf` (thanks \[[@​ljharb](https://togithub.com/ljharb)], \[[@​remcohaszing](https://togithub.com/remcohaszing)]) ### [`v2.26.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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 (\[[#​2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@​sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[`no-dynamic-require`]: support dynamic import with espree (\[[#​2371](https://togithub.com/import-js/eslint-plugin-import/issues/2371)], thanks \[[@​sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[`no-relative-packages`]: add fixer (\[[#​2381](https://togithub.com/import-js/eslint-plugin-import/issues/2381)], thanks \[[@​forivall](https://togithub.com/forivall)]) ##### Fixed - \[`default`]: `typescript-eslint-parser`: avoid a crash on exporting as namespace (thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[`export`]/TypeScript: false positive for typescript namespace merging (\[[#​1964](https://togithub.com/import-js/eslint-plugin-import/issues/1964)], thanks \[[@​magarcia](https://togithub.com/magarcia)]) - \[`no-duplicates`]: ignore duplicate modules in different TypeScript module declarations (\[[#​2378](https://togithub.com/import-js/eslint-plugin-import/issues/2378)], thanks \[[@​remcohaszing](https://togithub.com/remcohaszing)]) - \[`no-unused-modules`]: avoid a crash when processing re-exports (\[[#​2388](https://togithub.com/import-js/eslint-plugin-import/issues/2388)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Tests] \[`no-nodejs-modules`]: add tests for node protocol URL (\[[#​2367](https://togithub.com/import-js/eslint-plugin-import/issues/2367)], thanks \[[@​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 (\[[#​2358](https://togithub.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@​sosukesuzuki](https://togithub.com/sosukesuzuki)]) - \[Docs] \[`no-unresolved`]: Fix RegExp escaping in readme (\[[#​2332](https://togithub.com/import-js/eslint-plugin-import/issues/2332)], thanks \[[@​stephtr](https://togithub.com/stephtr)]) - \[Refactor] \[`namespace`]: try to improve performance (\[[#​2340](https://togithub.com/import-js/eslint-plugin-import/issues/2340)], thanks \[[@​ljharb](https://togithub.com/ljharb)]) - \[Docs] make rule doc titles consistent (\[[#​2393](https://togithub.com/import-js/eslint-plugin-import/issues/2393)], thanks \[[@​TheJaredWilcurt](https://togithub.com/TheJaredWilcurt)]) - \[Docs] \[`order`]: TS code examples should use TS code blocks (\[[#​2411](https://togithub.com/import-js/eslint-plugin-import/issues/2411)], thanks \[[@​MM25Zamanian](https://togithub.com/MM25Zamanian)]) - \[Docs] \[`no-unresolved`]: fix link (\[[#​2417](https://togithub.com/import-js/eslint-plugin-import/issues/2417)], thanks \[[@​kylemh](https://togithub.com/kylemh)])

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.



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