Open renovate[bot] opened 1 year ago
Latest commit: 93297641a4808f4e63a100183b158a90ac6a9094
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
2.27.5
->2.31.0
Release Notes
import-js/eslint-plugin-import (eslint-plugin-import)
### [`v2.31.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2310---2024-10-03) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.30.0...v2.31.0) ##### Added - support eslint v9 (\[[#2996](https://redirect.github.com/import-js/eslint-plugin-import/issues/2996)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)] \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - \[`order`]: allow validating named imports (\[[#3043](https://redirect.github.com/import-js/eslint-plugin-import/issues/3043)], thanks \[[@manuth](https://redirect.github.com/manuth)]) - \[`extensions`]: add the `checkTypeImports` option (\[[#2817](https://redirect.github.com/import-js/eslint-plugin-import/issues/2817)], thanks \[[@phryneas](https://redirect.github.com/phryneas)]) ##### Fixed - `ExportMap` / flat config: include `languageOptions` in context (\[[#3052](https://redirect.github.com/import-js/eslint-plugin-import/issues/3052)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - \[`no-named-as-default`]: Allow using an identifier if the export is both a named and a default export (\[[#3032](https://redirect.github.com/import-js/eslint-plugin-import/issues/3032)], thanks \[[@akwodkiewicz](https://redirect.github.com/akwodkiewicz)]) - \[`export`]: False positive for exported overloaded functions in TS (\[[#3065](https://redirect.github.com/import-js/eslint-plugin-import/issues/3065)], thanks \[[@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)]) - `exportMap`: export map cache is tainted by unreliable parse results (\[[#3062](https://redirect.github.com/import-js/eslint-plugin-import/issues/3062)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - `exportMap`: improve cacheKey when using flat config (\[[#3072](https://redirect.github.com/import-js/eslint-plugin-import/issues/3072)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - adjust "is source type module" checks for flat config (\[[#2996](https://redirect.github.com/import-js/eslint-plugin-import/issues/2996)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)]) ##### Changed - \[Docs] \[`no-relative-packages`]: fix typo (\[[#3066](https://redirect.github.com/import-js/eslint-plugin-import/issues/3066)], thanks \[[@joshuaobrien](https://redirect.github.com/joshuaobrien)]) - \[Performance] \[`no-cycle`]: dont scc for each linted file (\[[#3068](https://redirect.github.com/import-js/eslint-plugin-import/issues/3068)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Docs] \[`no-cycle`]: add `disableScc` to docs (\[[#3070](https://redirect.github.com/import-js/eslint-plugin-import/issues/3070)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Tests] use re-exported `RuleTester` (\[[#3071](https://redirect.github.com/import-js/eslint-plugin-import/issues/3071)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)]) - \[Docs] \[`no-restricted-paths`]: fix grammar (\[[#3073](https://redirect.github.com/import-js/eslint-plugin-import/issues/3073)], thanks \[[@unbeauvoyage](https://redirect.github.com/unbeauvoyage)]) - \[Tests] \[`no-default-export`], \[`no-named-export`]: add test case (thanks \[[@G-Rath](https://redirect.github.com/G-Rath)]) ### [`v2.30.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2300---2024-09-02) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.29.1...v2.30.0) ##### Added - \[`dynamic-import-chunkname`]: add `allowEmpty` option to allow empty leading comments (\[[#2942](https://redirect.github.com/import-js/eslint-plugin-import/issues/2942)], thanks \[[@JiangWeixian](https://redirect.github.com/JiangWeixian)]) - \[`dynamic-import-chunkname`]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode (\[[#3004](https://redirect.github.com/import-js/eslint-plugin-import/issues/3004)], thanks \[[@amsardesai](https://redirect.github.com/amsardesai)]) - \[`no-unused-modules`]: Add `ignoreUnusedTypeExports` option (\[[#3011](https://redirect.github.com/import-js/eslint-plugin-import/issues/3011)], thanks \[[@silverwind](https://redirect.github.com/silverwind)]) - add support for Flat Config (\[[#3018](https://redirect.github.com/import-js/eslint-plugin-import/issues/3018)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) ##### Fixed - \[`no-extraneous-dependencies`]: allow wrong path (\[[#3012](https://redirect.github.com/import-js/eslint-plugin-import/issues/3012)], thanks \[[@chabb](https://redirect.github.com/chabb)]) - \[`no-cycle`]: use scc algorithm to optimize (\[[#2998](https://redirect.github.com/import-js/eslint-plugin-import/issues/2998)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[`no-duplicates`]: Removing duplicates breaks in TypeScript (\[[#3033](https://redirect.github.com/import-js/eslint-plugin-import/issues/3033)], thanks \[[@yesl-kim](https://redirect.github.com/yesl-kim)]) - \[`newline-after-import`]: fix considerComments option when require (\[[#2952](https://redirect.github.com/import-js/eslint-plugin-import/issues/2952)], thanks \[[@developer-bandi](https://redirect.github.com/developer-bandi)]) - \[`order`]: do not compare first path segment for relative paths (\[[#2682](https://redirect.github.com/import-js/eslint-plugin-import/issues/2682)]) (\[[#2885](https://redirect.github.com/import-js/eslint-plugin-import/issues/2885)], thanks \[[@mihkeleidast](https://redirect.github.com/mihkeleidast)]) ##### Changed - \[Docs] `no-extraneous-dependencies`: Make glob pattern description more explicit (\[[#2944](https://redirect.github.com/import-js/eslint-plugin-import/issues/2944)], thanks \[[@mulztob](https://redirect.github.com/mulztob)]) - \[`no-unused-modules`]: add console message to help debug \[[#2866](https://redirect.github.com/import-js/eslint-plugin-import/issues/2866)] - \[Refactor] `ExportMap`: make procedures static instead of monkeypatching exportmap (\[[#2982](https://redirect.github.com/import-js/eslint-plugin-import/issues/2982)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Refactor] `ExportMap`: separate ExportMap instance from its builder logic (\[[#2985](https://redirect.github.com/import-js/eslint-plugin-import/issues/2985)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Docs] `order`: Add a quick note on how unbound imports and --fix (\[[#2640](https://redirect.github.com/import-js/eslint-plugin-import/issues/2640)], thanks \[[@minervabot](https://redirect.github.com/minervabot)]) - \[Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) (\[[#2987](https://redirect.github.com/import-js/eslint-plugin-import/issues/2987)], thanks \[[@joeyguerra](https://redirect.github.com/joeyguerra)]) - \[actions] migrate OSX tests to GHA (\[[ljharb#37](https://redirect.github.com/ljharb/eslint-plugin-import/issues/37)], thanks \[[@aks-](https://redirect.github.com/aks-)]) - \[Refactor] `exportMapBuilder`: avoid hoisting (\[[#2989](https://redirect.github.com/import-js/eslint-plugin-import/issues/2989)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Refactor] `ExportMap`: extract "builder" logic to separate files (\[[#2991](https://redirect.github.com/import-js/eslint-plugin-import/issues/2991)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Docs] \[`order`]: update the description of the `pathGroupsExcludedImportTypes` option (\[[#3036](https://redirect.github.com/import-js/eslint-plugin-import/issues/3036)], thanks \[[@liby](https://redirect.github.com/liby)]) - \[readme] Clarify how to install the plugin (\[[#2993](https://redirect.github.com/import-js/eslint-plugin-import/issues/2993)], thanks \[[@jwbth](https://redirect.github.com/jwbth)]) ### [`v2.29.1`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2291---2023-12-14) [Compare Source](https://redirect.github.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://redirect.github.com/import-js/eslint-plugin-import/issues/2919)], thanks \[[@Pandemic1617](https://redirect.github.com/Pandemic1617)]) - \[`no-unused-modules`]: support export patterns with array destructuring (\[[#2930](https://redirect.github.com/import-js/eslint-plugin-import/issues/2930)], thanks \[[@ljharb](https://redirect.github.com/ljharb)]) - \[Deps] update `tsconfig-paths` (\[[#2447](https://redirect.github.com/import-js/eslint-plugin-import/issues/2447)], thanks \[[@domdomegg](https://redirect.github.com/domdomegg)]) ### [`v2.29.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2290---2023-10-22) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0) ##### Added - TypeScript config: add .cts and .mts extensions (\[[#2851](https://redirect.github.com/import-js/eslint-plugin-import/issues/2851)], thanks \[[@Zamiell](https://redirect.github.com/Zamiell)]) - \[`newline-after-import`]: new option `exactCount` and docs update (\[[#1933](https://redirect.github.com/import-js/eslint-plugin-import/issues/1933)], thanks \[[@anikethsaha](https://redirect.github.com/anikethsaha)] and \[[@reosarevok](https://redirect.github.com/reosarevok)]) - \[`newline-after-import`]: fix `exactCount` with `considerComments` false positive, when there is a leading comment (\[[#2884](https://redirect.github.com/import-js/eslint-plugin-import/issues/2884)], thanks \[[@kinland](https://redirect.github.com/kinland)]) ### [`v2.28.1`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2281---2023-08-18) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1) ##### Fixed - \[`order`]: revert breaking change to single nested group (\[[#2854](https://redirect.github.com/import-js/eslint-plugin-import/issues/2854)], thanks \[[@yndajas](https://redirect.github.com/yndajas)]) ##### Changed - \[Docs] remove duplicate fixable notices in docs (\[[#2850](https://redirect.github.com/import-js/eslint-plugin-import/issues/2850)], thanks \[[@bmish](https://redirect.github.com/bmish)]) ### [`v2.28.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2280---2023-07-27) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0) ##### Fixed - \[`no-duplicates`]: remove duplicate identifiers in duplicate imports (\[[#2577](https://redirect.github.com/import-js/eslint-plugin-import/issues/2577)], thanks \[[@joe-matsec](https://redirect.github.com/joe-matsec)]) - \[`consistent-type-specifier-style`]: fix accidental removal of comma in certain cases (\[[#2754](https://redirect.github.com/import-js/eslint-plugin-import/issues/2754)], thanks \[[@bradzacher](https://redirect.github.com/bradzacher)]) - \[Perf] `ExportMap`: Improve `ExportMap.for` performance on larger codebases (\[[#2756](https://redirect.github.com/import-js/eslint-plugin-import/issues/2756)], thanks \[[@leipert](https://redirect.github.com/leipert)]) - \[`no-extraneous-dependencies`]/TypeScript: do not error when importing inline type from dev dependencies (\[[#1820](https://redirect.github.com/import-js/eslint-plugin-import/issues/1820)], thanks \[[@andyogo](https://redirect.github.com/andyogo)]) - \[`newline-after-import`]/TypeScript: do not error when re-exporting a namespaced import (\[[#2832](https://redirect.github.com/import-js/eslint-plugin-import/issues/2832)], thanks \[[@laurens-dg](https://redirect.github.com/laurens-dg)]) - \[`order`]: partial fix for \[[#2687](https://redirect.github.com/import-js/eslint-plugin-import/issues/2687)] (thanks \[[@ljharb](https://redirect.github.com/ljharb)]) - \[`no-duplicates`]: Detect across type and regular imports (\[[#2835](https://redirect.github.com/import-js/eslint-plugin-import/issues/2835)], thanks \[[@benkrejci](https://redirect.github.com/benkrejci)]) - \[`extensions`]: handle `.` and `..` properly (\[[#2778](https://redirect.github.com/import-js/eslint-plugin-import/issues/2778)], thanks \[[@benasher44](https://redirect.github.com/benasher44)]) - \[`no-unused-modules`]: improve schema (thanks \[[@ljharb](https://redirect.github.com/ljharb)]) - \[`no-unused-modules`]: report error on binding instead of parent export (\[[#2842](https://redirect.github.com/import-js/eslint-plugin-import/issues/2842)], thanks \[[@Chamion](https://redirect.github.com/Chamion)]) ##### Changed - \[Docs] \[`no-duplicates`]: fix example schema (\[[#2684](https://redirect.github.com/import-js/eslint-plugin-import/issues/2684)], thanks \[[@simmo](https://redirect.github.com/simmo)]) - \[Docs] \[`group-exports`]: fix syntax highlighting (\[[#2699](https://redirect.github.com/import-js/eslint-plugin-import/issues/2699)], thanks \[[@devinrhode2](https://redirect.github.com/devinrhode2)]) - \[Docs] \[`extensions`]: reference node ESM behavior (\[[#2748](https://redirect.github.com/import-js/eslint-plugin-import/issues/2748)], thanks \[[@xM8WVqaG](https://redirect.github.com/xM8WVqaG)]) - \[Refactor] \[`exports-last`]: use `array.prototype.findlastindex` (thanks \[[@ljharb](https://redirect.github.com/ljharb)]) - \[Refactor] \[`no-anonymous-default-export`]: use `object.fromentries` (thanks \[[@ljharb](https://redirect.github.com/ljharb)]) - \[Refactor] \[`no-unused-modules`]: use `array.prototype.flatmap` (thanks \[[@ljharb](https://redirect.github.com/ljharb)])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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.