Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
^2.26.0
^2.27.4
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.27.4
Release Notes
import-js/eslint-plugin-import
### [`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: Enabled.
♻ 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.