Closed renovate[bot] closed 2 years ago
As this PR has been closed unmerged, Renovate will now ignore this update (2.26.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps
array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
This PR contains the following updates:
2.23.4
->2.26.0
Release Notes
import-js/eslint-plugin-import
### [`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)]) ### [`v2.25.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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' (\[[#2305](https://togithub.com/import-js/eslint-plugin-import/issues/2305)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`first`]: prevent crash when parsing angular templates (\[[#2210](https://togithub.com/import-js/eslint-plugin-import/issues/2210)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - `importType`: properly resolve `@/*`-aliased imports as internal (\[[#2334](https://togithub.com/import-js/eslint-plugin-import/issues/2334)], thanks \[[@ombene](https://togithub.com/ombene)]) - \[`named`]/`ExportMap`: handle named imports from CJS modules that use dynamic import (\[[#2341](https://togithub.com/import-js/eslint-plugin-import/issues/2341)], thanks \[[@ludofischer](https://togithub.com/ludofischer)]) ##### Changed - \[`no-default-import`]: report on the token "default" instead of the entire node (\[[#2299](https://togithub.com/import-js/eslint-plugin-import/issues/2299)], thanks \[[@pmcelhaney](https://togithub.com/pmcelhaney)]) - \[Docs] \[`order`]: Remove duplicate mention of default (\[[#2280](https://togithub.com/import-js/eslint-plugin-import/issues/2280)], thanks \[[@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#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 (\[[#2270](https://togithub.com/import-js/eslint-plugin-import/issues/2270)], \[[#2271](https://togithub.com/import-js/eslint-plugin-import/issues/2271)], thanks \[[@jablko](https://togithub.com/jablko)]) - `importType`: fix `isExternalModule` calculation (\[[#2282](https://togithub.com/import-js/eslint-plugin-import/issues/2282)], thanks \[[@mx-bernhard](https://togithub.com/mx-bernhard)]) - \[`no-import-module-exports`]: avoid false positives with a shadowed `module` or `exports` (\[[#2297](https://togithub.com/import-js/eslint-plugin-import/issues/2297)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] \[`order`]: add type to the default groups (\[[#2272](https://togithub.com/import-js/eslint-plugin-import/issues/2272)], thanks \[[@charpeni](https://togithub.com/charpeni)]) - \[readme] Add note to TypeScript docs to install appropriate resolver (\[[#2279](https://togithub.com/import-js/eslint-plugin-import/issues/2279)], thanks \[[@johnthagen](https://togithub.com/johnthagen)]) - \[Refactor] `importType`: combine redundant `isScoped` and `isScopedModule` (thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[Docs] HTTP => HTTPS (\[[#2287](https://togithub.com/import-js/eslint-plugin-import/issues/2287)], thanks \[[@Schweinepriester](https://togithub.com/Schweinepriester)]) ### [`v2.25.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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 (\[[#2255](https://togithub.com/import-js/eslint-plugin-import/issues/2255)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.25.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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#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 (\[[#2191](https://togithub.com/import-js/eslint-plugin-import/issues/2191)], thanks \[[@ota-meshi](https://togithub.com/ota-meshi)]) - \[`no-unresolved`]: add `caseSensitiveStrict` option (\[[#1262](https://togithub.com/import-js/eslint-plugin-import/issues/1262)], thanks \[[@sergei-startsev](https://togithub.com/sergei-startsev)]) - \[`no-unused-modules`]: add eslint v8 support (\[[#2194](https://togithub.com/import-js/eslint-plugin-import/issues/2194)], thanks \[[@coderaiser](https://togithub.com/coderaiser)]) - \[`no-restricted-paths`]: add/restore glob pattern support (\[[#2219](https://togithub.com/import-js/eslint-plugin-import/issues/2219)], thanks \[[@stropho](https://togithub.com/stropho)]) - \[`no-unused-modules`]: support dynamic imports (\[[#1660](https://togithub.com/import-js/eslint-plugin-import/issues/1660)], \[[#2212](https://togithub.com/import-js/eslint-plugin-import/issues/2212)], thanks \[[@maxkomarychev](https://togithub.com/maxkomarychev)], \[[@aladdin-add](https://togithub.com/aladdin-add)], \[[@Hypnosphi](https://togithub.com/Hypnosphi)]) ##### Fixed - \[`no-unresolved`]: ignore type-only imports (\[[#2220](https://togithub.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@jablko](https://togithub.com/jablko)]) - \[`order`]: fix sorting imports inside TypeScript module declarations (\[[#2226](https://togithub.com/import-js/eslint-plugin-import/issues/2226)], thanks \[[@remcohaszing](https://togithub.com/remcohaszing)]) - \[`default`], `ExportMap`: Resolve extended TypeScript configuration files (\[[#2240](https://togithub.com/import-js/eslint-plugin-import/issues/2240)], thanks \[[@mrmckeb](https://togithub.com/mrmckeb)]) ##### Changed - \[Refactor] switch to an internal replacement for `pkg-up` and `read-pkg-up` (\[[#2047](https://togithub.com/import-js/eslint-plugin-import/issues/2047)], thanks \[[@mgwalker](https://togithub.com/mgwalker)]) - \[patch] TypeScript config: remove `.d.ts` from \[`import/parsers` setting] and \[`import/extensions` setting] (\[[#2220](https://togithub.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@jablko](https://togithub.com/jablko)]) - \[Refactor] \[`no-unresolved`], \[`no-extraneous-dependencies`]: moduleVisitor usage (\[[#2233](https://togithub.com/import-js/eslint-plugin-import/issues/2233)], thanks \[[@jablko](https://togithub.com/jablko)]) ### [`v2.24.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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 (\[[#2199](https://togithub.com/import-js/eslint-plugin-import/issues/2199)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.24.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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 (\[[#2184](https://togithub.com/import-js/eslint-plugin-import/issues/2184)], thanks \[[@Maxim-Mazurok](https://togithub.com/Maxim-Mazurok)]) - \[`named`], \[`namespace`]: properly set reexports on `export * as … from` (\[[#1998](https://togithub.com/import-js/eslint-plugin-import/issues/1998)], \[[#2161](https://togithub.com/import-js/eslint-plugin-import/issues/2161)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-duplicates`]: correctly handle case of mixed default/named type imports (\[[#2149](https://togithub.com/import-js/eslint-plugin-import/issues/2149)], thanks \[[@GoodForOneFare](https://togithub.com/GoodForOneFare)], \[[@nwalters512](https://togithub.com/nwalters512)]) - \[`no-duplicates`]: avoid crash with empty `import type {}` (\[[#2201](https://togithub.com/import-js/eslint-plugin-import/issues/2201)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] `max-dependencies`: 📖 Document `ignoreTypeImports` option (\[[#2196](https://togithub.com/import-js/eslint-plugin-import/issues/2196)], thanks \[[@himynameisdave](https://togithub.com/himynameisdave)]) ### [`v2.24.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#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` (\[[#1223](https://togithub.com/import-js/eslint-plugin-import/issues/1223)], thanks \[[@vikr01](https://togithub.com/vikr01)]) - \[`named`]: add `commonjs` option (\[[#1222](https://togithub.com/import-js/eslint-plugin-import/issues/1222)], thanks \[[@vikr01](https://togithub.com/vikr01)]) - \[`no-namespace`]: Add `ignore` option (\[[#2112](https://togithub.com/import-js/eslint-plugin-import/issues/2112)], thanks \[[@aberezkin](https://togithub.com/aberezkin)]) - \[`max-dependencies`]: add option `ignoreTypeImports` (\[[#1847](https://togithub.com/import-js/eslint-plugin-import/issues/1847)], thanks \[[@rfermann](https://togithub.com/rfermann)]) ##### Fixed - \[`no-duplicates`]: ensure autofix avoids excessive newlines (\[[#2028](https://togithub.com/import-js/eslint-plugin-import/issues/2028)], thanks \[[@ertrzyiks](https://togithub.com/ertrzyiks)]) - \[`extensions`]: avoid crashing on partially typed import/export statements (\[[#2118](https://togithub.com/import-js/eslint-plugin-import/issues/2118)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-extraneous-dependencies`]: add ESM intermediate package.json support (\[[#2121](https://togithub.com/import-js/eslint-plugin-import/issues/2121)], thanks \[[@paztis](https://togithub.com/paztis)]) - Use `context.getPhysicalFilename()` when available (ESLint 7.28+) (\[[#2160](https://togithub.com/import-js/eslint-plugin-import/issues/2160)], thanks \[[@pmcelhaney](https://togithub.com/pmcelhaney)]) - \[`extensions`]/`importType`: fix isScoped treating @/abc as scoped module (\[[#2146](https://togithub.com/import-js/eslint-plugin-import/issues/2146)], thanks \[[@rperello](https://togithub.com/rperello)]) ##### Changed - \[Docs] \[`extensions`]: improved cases for using `@/...` (\[[#2140](https://togithub.com/import-js/eslint-plugin-import/issues/2140)], thanks \[[@wenfangdu](https://togithub.com/wenfangdu)]) - \[Docs] \[`extensions`]: removed incorrect cases (\[[#2138](https://togithub.com/import-js/eslint-plugin-import/issues/2138)], thanks \[[@wenfangdu](https://togithub.com/wenfangdu)]) - \[Tests] \[`order`]: add tests for `pathGroupsExcludedImportTypes: ['type']` (\[[#2158](https://togithub.com/import-js/eslint-plugin-import/issues/2158)], thanks \[[@atav32](https://togithub.com/atav32)]) - \[Docs] \[`order`]: improve the documentation for the `pathGroupsExcludedImportTypes` option (\[[#2156](https://togithub.com/import-js/eslint-plugin-import/issues/2156)], thanks \[[@liby](https://togithub.com/liby)]) - \[Tests] \[`no-cycle`]: Restructure test files (\[[#1517](https://togithub.com/import-js/eslint-plugin-import/issues/1517)], thanks \[[@soryy708](https://togithub.com/soryy708)]) - \[Docs] add description how to use plugin with yarn berry (\[[#2179](https://togithub.com/import-js/eslint-plugin-import/issues/2179)], thanks \[[@KostyaZgara](https://togithub.com/KostyaZgara)])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.