Closed renovate[bot] closed 3 years ago
As this PR has been closed unmerged, Renovate will now ignore this update (2.23.4). 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.19.1
->2.23.4
Release Notes
benmosher/eslint-plugin-import
### [`v2.23.4`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2234---2021-05-29) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.3...v2.23.4) ##### Fixed - \[`no-import-module-exports`]: Don't crash if packages have no entrypoint (\[[#2099](https://togithub.com/benmosher/eslint-plugin-import/issues/2099)], thanks \[[@eps1lon](https://togithub.com/eps1lon)]) - \[`no-extraneous-dependencies`]: fix package name algorithm (\[[#2097](https://togithub.com/benmosher/eslint-plugin-import/issues/2097)], thanks \[[@paztis](https://togithub.com/paztis)]) ### [`v2.23.3`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2233---2021-05-21) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.2...v2.23.3) ##### Fixed - \[`no-restricted-paths`]: fix false positive matches (\[[#2090](https://togithub.com/benmosher/eslint-plugin-import/issues/2090)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-cycle`]: ignore imports where imported file only imports types of importing file (\[[#2083](https://togithub.com/benmosher/eslint-plugin-import/issues/2083)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix false negative when file imports a type after importing a value in Flow (\[[#2083](https://togithub.com/benmosher/eslint-plugin-import/issues/2083)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`order`]: restore default behavior unless `type` is in groups (\[[#2087](https://togithub.com/benmosher/eslint-plugin-import/issues/2087)], thanks \[[@grit96](https://togithub.com/grit96)]) ##### Changed - \[Docs] Add `no-relative-packages` to list of to the list of rules (\[[#2075](https://togithub.com/benmosher/eslint-plugin-import/issues/2075)], thanks \[[@arvigeus](https://togithub.com/arvigeus)]) ### [`v2.23.2`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2232---2021-05-15) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.1...v2.23.2) ##### Changed - \[meta] add `safe-publish-latest`; use `prepublishOnly` script for npm 7+ ### [`v2.23.1`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2231---2021-05-14) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.23.0...v2.23.1) ##### Fixed - \[`newline-after-import`]: fix crash with `export {}` syntax (\[[#2063](https://togithub.com/benmosher/eslint-plugin-import/issues/2063)], \[[#2056](https://togithub.com/benmosher/eslint-plugin-import/issues/2056)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - `ExportMap`: do not crash when tsconfig lacks `.compilerOptions` (\[[#2067](https://togithub.com/benmosher/eslint-plugin-import/issues/2067)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`order`]: fix alphabetical sorting (\[[#2071](https://togithub.com/benmosher/eslint-plugin-import/issues/2071)], thanks \[[@grit96](https://togithub.com/grit96)]) ### [`v2.23.0`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2230---2021-05-13) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.0) ##### Added - \[`no-commonjs`]: Also detect require calls with expressionless template literals: ``require(`x`)`` (\[[#1958](https://togithub.com/benmosher/eslint-plugin-import/issues/1958)], thanks \[[@FloEdelmann](https://togithub.com/FloEdelmann)]) - \[`no-internal-modules`]: Add `forbid` option (\[[#1846](https://togithub.com/benmosher/eslint-plugin-import/issues/1846)], thanks \[[@guillaumewuip](https://togithub.com/guillaumewuip)]) - add \[`no-relative-packages`] (\[[#1860](https://togithub.com/benmosher/eslint-plugin-import/issues/1860)], \[[#966](https://togithub.com/benmosher/eslint-plugin-import/issues/966)], thanks \[[@tapayne88](https://togithub.com/tapayne88)] \[[@panrafal](https://togithub.com/panrafal)]) - add \[`no-import-module-exports`] rule: report import declarations with CommonJS exports (\[[#804](https://togithub.com/benmosher/eslint-plugin-import/issues/804)], thanks \[[@kentcdodds](https://togithub.com/kentcdodds)] and \[[@ttmarek](https://togithub.com/ttmarek)]) - \[`no-unused-modules`]: Support destructuring assignment for `export`. (\[[#1997](https://togithub.com/benmosher/eslint-plugin-import/issues/1997)], thanks \[[@s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w)]) - \[`order`]: support type imports (\[[#2021](https://togithub.com/benmosher/eslint-plugin-import/issues/2021)], thanks \[[@grit96](https://togithub.com/grit96)]) - \[`order`]: Add `warnOnUnassignedImports` option to enable warnings for out of order unassigned imports (\[[#1990](https://togithub.com/benmosher/eslint-plugin-import/issues/1990)], thanks \[[@hayes](https://togithub.com/hayes)]) ##### Fixed - \[`export`]/TypeScript: properly detect export specifiers as children of a TS module block (\[[#1889](https://togithub.com/benmosher/eslint-plugin-import/issues/1889)], thanks \[[@andreubotella](https://togithub.com/andreubotella)]) - \[`order`]: ignore non-module-level requires (\[[#1940](https://togithub.com/benmosher/eslint-plugin-import/issues/1940)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-webpack-loader-syntax`]/TypeScript: avoid crash on missing name (\[[#1947](https://togithub.com/benmosher/eslint-plugin-import/issues/1947)], thanks \[[@leonardodino](https://togithub.com/leonardodino)]) - \[`no-extraneous-dependencies`]: Add package.json cache (\[[#1948](https://togithub.com/benmosher/eslint-plugin-import/issues/1948)], thanks \[[@fa93hws](https://togithub.com/fa93hws)]) - \[`prefer-default-export`]: handle empty array destructuring (\[[#1965](https://togithub.com/benmosher/eslint-plugin-import/issues/1965)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-unused-modules`]: make type imports mark a module as used (fixes [#1924](https://togithub.com/benmosher/eslint-plugin-import/issues/1924)) (\[[#1974](https://togithub.com/benmosher/eslint-plugin-import/issues/1974)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix perf regression (\[[#1944](https://togithub.com/benmosher/eslint-plugin-import/issues/1944)], thanks \[[@Blasz](https://togithub.com/Blasz)]) - \[`first`]: fix handling of `import = require` (\[[#1963](https://togithub.com/benmosher/eslint-plugin-import/issues/1963)], thanks \[[@MatthiasKunnen](https://togithub.com/MatthiasKunnen)]) - \[`no-cycle`]/\[`extensions`]: fix isExternalModule usage (\[[#1696](https://togithub.com/benmosher/eslint-plugin-import/issues/1696)], thanks \[[@paztis](https://togithub.com/paztis)]) - \[`extensions`]/\[`no-cycle`]/\[`no-extraneous-dependencies`]: Correct module real path resolution (\[[#1696](https://togithub.com/benmosher/eslint-plugin-import/issues/1696)], thanks \[[@paztis](https://togithub.com/paztis)]) - \[`no-named-default`]: ignore Flow import type and typeof (\[[#1983](https://togithub.com/benmosher/eslint-plugin-import/issues/1983)], thanks \[[@christianvuerings](https://togithub.com/christianvuerings)]) - \[`no-extraneous-dependencies`]: Exclude flow `typeof` imports (\[[#1534](https://togithub.com/benmosher/eslint-plugin-import/issues/1534)], thanks \[[@devongovett](https://togithub.com/devongovett)]) - \[`newline-after-import`]: respect decorator annotations (\[[#1985](https://togithub.com/benmosher/eslint-plugin-import/issues/1985)], thanks \[[@lilling](https://togithub.com/lilling)]) - \[`no-restricted-paths`]: enhance performance for zones with `except` paths (\[[#2022](https://togithub.com/benmosher/eslint-plugin-import/issues/2022)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-unresolved`]: check import() (\[[#2026](https://togithub.com/benmosher/eslint-plugin-import/issues/2026)], thanks \[[@aladdin-add](https://togithub.com/aladdin-add)]) ##### Changed - \[Generic Import Callback] Make callback for all imports once in rules (\[[#1237](https://togithub.com/benmosher/eslint-plugin-import/issues/1237)], thanks \[[@ljqx](https://togithub.com/ljqx)]) - \[Docs] \[`no-named-as-default`]: add semicolon (\[[#1897](https://togithub.com/benmosher/eslint-plugin-import/issues/1897)], thanks \[[@bicstone](https://togithub.com/bicstone)]) - \[Docs] `no-extraneous-dependencies`: correct peerDependencies option default to `true` (\[[#1993](https://togithub.com/benmosher/eslint-plugin-import/issues/1993)], thanks \[[@dwardu](https://togithub.com/dwardu)]) - \[Docs] `order`: Document options required to match ordering example (\[[#1992](https://togithub.com/benmosher/eslint-plugin-import/issues/1992)], thanks \[[@silviogutierrez](https://togithub.com/silviogutierrez)]) - \[Tests] `no-unresolved`: add tests for `import()` (\[[#2012](https://togithub.com/benmosher/eslint-plugin-import/issues/2012)], thanks \[[@davidbonnet](https://togithub.com/davidbonnet)]) - \[Docs] Add import/recommended ruleset to README (\[[#2034](https://togithub.com/benmosher/eslint-plugin-import/issues/2034)], thanks \[[@edemaine](https://togithub.com/edemaine)]) ### [`v2.22.1`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2221---2020-09-27) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1) ##### Fixed - \[`default`]/TypeScript: avoid crash on `export =` with a MemberExpression (\[[#1841](https://togithub.com/benmosher/eslint-plugin-import/issues/1841)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`extensions`]/importType: Fix @/abc being treated as scoped module (\[[#1854](https://togithub.com/benmosher/eslint-plugin-import/issues/1854)], thanks \[[@3nuc](https://togithub.com/3nuc)]) - allow using rest operator in named export (\[[#1878](https://togithub.com/benmosher/eslint-plugin-import/issues/1878)], thanks \[[@foray1010](https://togithub.com/foray1010)]) - \[`dynamic-import-chunkname`]: allow single quotes to match Webpack support (\[[#1848](https://togithub.com/benmosher/eslint-plugin-import/issues/1848)], thanks \[[@straub](https://togithub.com/straub)]) ##### Changed - \[`export`]: add tests for a name collision with `export * from` (\[[#1704](https://togithub.com/benmosher/eslint-plugin-import/issues/1704)], thanks [@tomprats](https://togithub.com/tomprats)) ### [`v2.22.0`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2220---2020-06-26) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.21.2...v2.22.0) ##### Added - \[`no-unused-modules`]: consider exported TypeScript interfaces, types and enums (\[[#1819](https://togithub.com/benmosher/eslint-plugin-import/issues/1819)], thanks \[[@nicolashenry](https://togithub.com/nicolashenry)]) - \[`no-cycle`]: allow `maxDepth` option to be `"∞"` (thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Fixed - \[`order`]/TypeScript: properly support `import = object` expressions (\[[#1823](https://togithub.com/benmosher/eslint-plugin-import/issues/1823)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[`no-extraneous-dependencies`]/TypeScript: do not error when importing type from dev dependencies (\[[#1820](https://togithub.com/benmosher/eslint-plugin-import/issues/1820)], thanks \[[@fernandopasik](https://togithub.com/fernandopasik)]) - \[`default`]: avoid crash with `export =` (\[[#1822](https://togithub.com/benmosher/eslint-plugin-import/issues/1822)], thanks \[[@AndrewLeedham](https://togithub.com/AndrewLeedham)]) - \[`order`]/\[`newline-after-import`]: ignore TypeScript's "export import object" (\[[#1830](https://togithub.com/benmosher/eslint-plugin-import/issues/1830)], thanks \[[@be5invis](https://togithub.com/be5invis)]) - \[`dynamic-import-chunkname`]/TypeScript: supports `@typescript-eslint/parser` (\[[#1833](https://togithub.com/benmosher/eslint-plugin-import/issues/1833)], thanks \[[@noelebrun](https://togithub.com/noelebrun)]) - \[`order`]/TypeScript: ignore ordering of object imports (\[[#1831](https://togithub.com/benmosher/eslint-plugin-import/issues/1831)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[`namespace`]: do not report on shadowed import names (\[[#518](https://togithub.com/benmosher/eslint-plugin-import/issues/518)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`export`]: avoid warning on `export * as` non-conflicts (\[[#1834](https://togithub.com/benmosher/eslint-plugin-import/issues/1834)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[`no-extraneous-dependencies`]: add tests for importing types (\[[#1824](https://togithub.com/benmosher/eslint-plugin-import/issues/1824)], thanks \[[@taye](https://togithub.com/taye)]) - \[docs] \[`no-default-export`]: Fix docs url (\[[#1836](https://togithub.com/benmosher/eslint-plugin-import/issues/1836)], thanks \[[@beatrizrezener](https://togithub.com/beatrizrezener)]) - \[docs] \[`imports-first`]: deprecation info and link to `first` docs (\[[#1835](https://togithub.com/benmosher/eslint-plugin-import/issues/1835)], thanks \[[@beatrizrezener](https://togithub.com/beatrizrezener)]) ### [`v2.21.2`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2212---2020-06-09) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.21.1...v2.21.2) ##### Fixed - \[`order`]: avoid a crash on TypeScript’s `export import` syntax (\[[#1808](https://togithub.com/benmosher/eslint-plugin-import/issues/1808)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`newline-after-import`]: consider TypeScript `import =` syntax' (\[[#1811](https://togithub.com/benmosher/eslint-plugin-import/issues/1811)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-internal-modules`]: avoid a crash on a named export declaration (\[[#1814](https://togithub.com/benmosher/eslint-plugin-import/issues/1814)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.21.1`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2211---2020-06-07) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.21.0...v2.21.1) ##### Fixed - TypeScript: \[`import/named`]: avoid requiring `typescript` when not using TS (\[[#1805](https://togithub.com/benmosher/eslint-plugin-import/issues/1805)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.21.0`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2210---2020-06-07) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.20.2...v2.21.0) ##### Added - \[`import/default`]: support default export in TSExportAssignment (\[[#1528](https://togithub.com/benmosher/eslint-plugin-import/issues/1528)], thanks \[[@joaovieira](https://togithub.com/joaovieira)]) - \[`no-cycle`]: add `ignoreExternal` option (\[[#1681](https://togithub.com/benmosher/eslint-plugin-import/issues/1681)], thanks \[[@sveyret](https://togithub.com/sveyret)]) - \[`order`]: Add support for TypeScript's "import equals"-expressions (\[[#1785](https://togithub.com/benmosher/eslint-plugin-import/issues/1785)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[`import/default`]: support default export in TSExportAssignment (\[[#1689](https://togithub.com/benmosher/eslint-plugin-import/issues/1689)], thanks \[[@Maxim-Mazurok](https://togithub.com/Maxim-Mazurok)]) - \[`no-restricted-paths`]: add custom message support (\[[#1802](https://togithub.com/benmosher/eslint-plugin-import/issues/1802)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) ##### Fixed - \[`group-exports`]: Flow type export awareness (\[[#1702](https://togithub.com/benmosher/eslint-plugin-import/issues/1702)], thanks \[[@ernestostifano](https://togithub.com/ernestostifano)]) - \[`order`]: Recognize pathGroup config for first group (\[[#1719](https://togithub.com/benmosher/eslint-plugin-import/issues/1719)], \[[#1724](https://togithub.com/benmosher/eslint-plugin-import/issues/1724)], thanks \[[@forivall](https://togithub.com/forivall)], \[[@xpl](https://togithub.com/xpl)]) - \[`no-unused-modules`]: Fix re-export not counting as usage when used in combination with import (\[[#1722](https://togithub.com/benmosher/eslint-plugin-import/issues/1722)], thanks \[[@Ephem](https://togithub.com/Ephem)]) - \[`no-duplicates`]: Handle TS import type (\[[#1676](https://togithub.com/benmosher/eslint-plugin-import/issues/1676)], thanks \[[@kmui2](https://togithub.com/kmui2)]) - \[`newline-after-import`]: recognize decorators (\[[#1139](https://togithub.com/benmosher/eslint-plugin-import/issues/1139)], thanks \[[@atos1990](https://togithub.com/atos1990)]) - \[`no-unused-modules`]: Revert "\[flow] \[`no-unused-modules`]: add flow type support" (\[[#1770](https://togithub.com/benmosher/eslint-plugin-import/issues/1770)], thanks \[[@Hypnosphi](https://togithub.com/Hypnosphi)]) - TypeScript: Add nested namespace handling (\[[#1763](https://togithub.com/benmosher/eslint-plugin-import/issues/1763)], thanks \[[@julien1619](https://togithub.com/julien1619)]) - \[`namespace`]/`ExportMap`: Fix interface declarations for TypeScript (\[[#1764](https://togithub.com/benmosher/eslint-plugin-import/issues/1764)], thanks \[[@julien1619](https://togithub.com/julien1619)]) - \[`no-unused-modules`]: avoid order-dependence (\[[#1744](https://togithub.com/benmosher/eslint-plugin-import/issues/1744)], thanks \[[@darkartur](https://togithub.com/darkartur)]) - \[`no-internal-modules`]: also check `export from` syntax (\[[#1691](https://togithub.com/benmosher/eslint-plugin-import/issues/1691)], thanks \[[@adjerbetian](https://togithub.com/adjerbetian)]) - TypeScript: \[`export`]: avoid a crash with `export =` (\[[#1801](https://togithub.com/benmosher/eslint-plugin-import/issues/1801)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Refactor] `no-extraneous-dependencies`: use moduleVisitor (\[[#1735](https://togithub.com/benmosher/eslint-plugin-import/issues/1735)], thanks \[[@adamborowski](https://togithub.com/adamborowski)]) - TypeScript config: Disable \[`named`]\[] (\[[#1726](https://togithub.com/benmosher/eslint-plugin-import/issues/1726)], thanks \[[@astorije](https://togithub.com/astorije)]) - \[readme] Remove duplicate \[`no-unused-modules`] from docs (\[[#1690](https://togithub.com/benmosher/eslint-plugin-import/issues/1690)], thanks \[[@arvigeus](https://togithub.com/arvigeus)]) - \[Docs] `order`: fix bad inline config (\[[#1788](https://togithub.com/benmosher/eslint-plugin-import/issues/1788)], thanks \[[@nickofthyme](https://togithub.com/nickofthyme)]) - \[Tests] Add fix for Windows Subsystem for Linux (\[[#1786](https://togithub.com/benmosher/eslint-plugin-import/issues/1786)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[Docs] `no-unused-rules`: Fix docs for unused exports (\[[#1776](https://togithub.com/benmosher/eslint-plugin-import/issues/1776)], thanks \[[@barbogast](https://togithub.com/barbogast)]) - \[eslint] bump minimum v7 version to v7.2.0 ### [`v2.20.2`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2202---2020-03-28) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.20.1...v2.20.2) ##### Fixed - \[`order`]: fix `isExternalModule` detect on windows (\[[#1651](https://togithub.com/benmosher/eslint-plugin-import/issues/1651)], thanks \[[@fisker](https://togithub.com/fisker)]) - \[`order`]: recognize ".." as a "parent" path (\[[#1658](https://togithub.com/benmosher/eslint-plugin-import/issues/1658)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-duplicates`]: fix fixer on cases with default import (\[[#1666](https://togithub.com/benmosher/eslint-plugin-import/issues/1666)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-unused-modules`]: Handle `export { default } from` syntax (\[[#1631](https://togithub.com/benmosher/eslint-plugin-import/issues/1631)], thanks \[[@richardxia](https://togithub.com/richardxia)]) - \[`first`]: Add a way to disable `absolute-first` explicitly (\[[#1664](https://togithub.com/benmosher/eslint-plugin-import/issues/1664)], thanks \[[@TheCrueltySage](https://togithub.com/TheCrueltySage)]) - \[Docs] `no-webpack-loader-syntax`: Updates webpack URLs (\[[#1751](https://togithub.com/benmosher/eslint-plugin-import/issues/1751)], thanks \[[@MikeyBeLike](https://togithub.com/MikeyBeLike)]) ### [`v2.20.1`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2201---2020-02-01) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.20.0...v2.20.1) ##### Fixed - \[`export`]: Handle function overloading in `*.d.ts` (\[[#1619](https://togithub.com/benmosher/eslint-plugin-import/issues/1619)], thanks \[[@IvanGoncharov](https://togithub.com/IvanGoncharov)]) - \[`no-absolute-path`]: fix a crash with invalid import syntax (\[[#1616](https://togithub.com/benmosher/eslint-plugin-import/issues/1616)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`import/external-module-folders` setting] now correctly works with directories containing modules symlinked from `node_modules` (\[[#1605](https://togithub.com/benmosher/eslint-plugin-import/issues/1605)], thanks \[[@skozin](https://togithub.com/skozin)]) - \[`extensions`]: for invalid code where `name` does not exist, do not crash (\[[#1613](https://togithub.com/benmosher/eslint-plugin-import/issues/1613)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`extensions`]: Fix scope regex (\[[#1611](https://togithub.com/benmosher/eslint-plugin-import/issues/1611)], thanks \[[@yordis](https://togithub.com/yordis)]) - \[`no-duplicates`]: allow duplicate imports if one is a namespace and the other not (\[[#1612](https://togithub.com/benmosher/eslint-plugin-import/issues/1612)], thanks \[[@sveyret](https://togithub.com/sveyret)]) - Add some missing rule meta schemas and types (\[[#1620](https://togithub.com/benmosher/eslint-plugin-import/issues/1620)], thanks \[[@bmish](https://togithub.com/bmish)]) - \[`named`]: for importing from a module which re-exports named exports from a `node_modules` module (\[[#1569](https://togithub.com/benmosher/eslint-plugin-import/issues/1569)], \[[#1447](https://togithub.com/benmosher/eslint-plugin-import/issues/1447)], thanks \[[@redbugz](https://togithub.com/redbugz)], \[[@kentcdodds](https://togithub.com/kentcdodds)]) - \[`order`]: Fix alphabetize for mixed requires and imports (\[[#1626](https://togithub.com/benmosher/eslint-plugin-import/issues/1626)], thanks \[[@wschurman](https://togithub.com/wschurman)]) ##### Changed - \[`import/external-module-folders` setting] behavior is more strict now: it will only match complete path segments (\[[#1605](https://togithub.com/benmosher/eslint-plugin-import/issues/1605)], thanks \[[@skozin](https://togithub.com/skozin)]) - \[meta] fix "files" field to include/exclude the proper files (\[[#1635](https://togithub.com/benmosher/eslint-plugin-import/issues/1635)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[Tests] `order`: Add TS import type tests (\[[#1736](https://togithub.com/benmosher/eslint-plugin-import/issues/1736)], thanks \[[@kmui2](https://togithub.com/kmui2)]) ### [`v2.20.0`](https://togithub.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md#2200---2020-01-10) [Compare Source](https://togithub.com/benmosher/eslint-plugin-import/compare/v2.19.1...v2.20.0) ##### Added - \[`order`]: added `caseInsensitive` as an additional option to `alphabetize` (\[[#1586](https://togithub.com/benmosher/eslint-plugin-import/issues/1586)], thanks \[[@dbrewer5](https://togithub.com/dbrewer5)]) - \[`no-restricted-paths`]: New `except` option per `zone`, allowing exceptions to be defined for a restricted zone (\[[#1238](https://togithub.com/benmosher/eslint-plugin-import/issues/1238)], thanks \[[@rsolomon](https://togithub.com/rsolomon)]) - \[`order`]: add option pathGroupsExcludedImportTypes to allow ordering of external import types (\[[#1565](https://togithub.com/benmosher/eslint-plugin-import/issues/1565)], thanks \[[@Mairu](https://togithub.com/Mairu)]) ##### Fixed - \[`no-unused-modules`]: fix usage of `import/extensions` settings (\[[#1560](https://togithub.com/benmosher/eslint-plugin-import/issues/1560)], thanks \[[@stekycz](https://togithub.com/stekycz)]) - \[`extensions`]: ignore non-main modules (\[[#1563](https://togithub.com/benmosher/eslint-plugin-import/issues/1563)], thanks \[[@saschanaz](https://togithub.com/saschanaz)]) - TypeScript config: lookup for external modules in [@types](https://togithub.com/types) folder (\[[#1526](https://togithub.com/benmosher/eslint-plugin-import/issues/1526)], thanks \[[@joaovieira](https://togithub.com/joaovieira)]) - \[`no-extraneous-dependencies`]: ensure `node.source` is truthy (\[[#1589](https://togithub.com/benmosher/eslint-plugin-import/issues/1589)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`extensions`]: Ignore query strings when checking for extensions (\[[#1572](https://togithub.com/benmosher/eslint-plugin-import/issues/1572)], thanks \[[@pcorpet](https://togithub.com/pcorpet)]) ##### Docs - \[`extensions`]: improve `ignorePackages` docs (\[[#1248](https://togithub.com/benmosher/eslint-plugin-import/issues/1248)], thanks \[[@ivo-stefchev](https://togithub.com/ivo-stefchev)])Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.