Closed renovate[bot] closed 7 months ago
This PR contains the following updates:
2.26.0
2.29.1
📅 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.
This PR contains the following updates:
2.26.0
->2.29.1
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)])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.