Open renovate[bot] opened 4 years ago
This PR contains the following updates:
2.16.0
2.25.2
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
2.16.0
->2.25.2
Release Notes
import-js/eslint-plugin-import
### [`v2.25.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/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)]) ### [`v2.25.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/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/master/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/master/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/master/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/master/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)]) ### [`v2.23.4`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2234---2021-05-29) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/2099)], thanks \[[@eps1lon](https://togithub.com/eps1lon)]) - \[`no-extraneous-dependencies`]: fix package name algorithm (\[[#2097](https://togithub.com/import-js/eslint-plugin-import/issues/2097)], thanks \[[@paztis](https://togithub.com/paztis)]) ### [`v2.23.3`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2233---2021-05-21) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.2...v2.23.3) ##### Fixed - \[`no-restricted-paths`]: fix false positive matches (\[[#2090](https://togithub.com/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/2083)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`order`]: restore default behavior unless `type` is in groups (\[[#2087](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/2075)], thanks \[[@arvigeus](https://togithub.com/arvigeus)]) ### [`v2.23.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2232---2021-05-15) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2231---2021-05-14) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.0...v2.23.1) ##### Fixed - \[`newline-after-import`]: fix crash with `export {}` syntax (\[[#2063](https://togithub.com/import-js/eslint-plugin-import/issues/2063)], \[[#2056](https://togithub.com/import-js/eslint-plugin-import/issues/2056)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - `ExportMap`: do not crash when tsconfig lacks `.compilerOptions` (\[[#2067](https://togithub.com/import-js/eslint-plugin-import/issues/2067)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`order`]: fix alphabetical sorting (\[[#2071](https://togithub.com/import-js/eslint-plugin-import/issues/2071)], thanks \[[@grit96](https://togithub.com/grit96)]) ### [`v2.23.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2230---2021-05-13) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1958)], thanks \[[@FloEdelmann](https://togithub.com/FloEdelmann)]) - \[`no-internal-modules`]: Add `forbid` option (\[[#1846](https://togithub.com/import-js/eslint-plugin-import/issues/1846)], thanks \[[@guillaumewuip](https://togithub.com/guillaumewuip)]) - add \[`no-relative-packages`] (\[[#1860](https://togithub.com/import-js/eslint-plugin-import/issues/1860)], \[[#966](https://togithub.com/import-js/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/import-js/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/import-js/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/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1889)], thanks \[[@andreubotella](https://togithub.com/andreubotella)]) - \[`order`]: ignore non-module-level requires (\[[#1940](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1947)], thanks \[[@leonardodino](https://togithub.com/leonardodino)]) - \[`no-extraneous-dependencies`]: Add package.json cache (\[[#1948](https://togithub.com/import-js/eslint-plugin-import/issues/1948)], thanks \[[@fa93hws](https://togithub.com/fa93hws)]) - \[`prefer-default-export`]: handle empty array destructuring (\[[#1965](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1924)) (\[[#1974](https://togithub.com/import-js/eslint-plugin-import/issues/1974)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix perf regression (\[[#1944](https://togithub.com/import-js/eslint-plugin-import/issues/1944)], thanks \[[@Blasz](https://togithub.com/Blasz)]) - \[`first`]: fix handling of `import = require` (\[[#1963](https://togithub.com/import-js/eslint-plugin-import/issues/1963)], thanks \[[@MatthiasKunnen](https://togithub.com/MatthiasKunnen)]) - \[`no-cycle`]/\[`extensions`]: fix isExternalModule usage (\[[#1696](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1696)], thanks \[[@paztis](https://togithub.com/paztis)]) - \[`no-named-default`]: ignore Flow import type and typeof (\[[#1983](https://togithub.com/import-js/eslint-plugin-import/issues/1983)], thanks \[[@christianvuerings](https://togithub.com/christianvuerings)]) - \[`no-extraneous-dependencies`]: Exclude flow `typeof` imports (\[[#1534](https://togithub.com/import-js/eslint-plugin-import/issues/1534)], thanks \[[@devongovett](https://togithub.com/devongovett)]) - \[`newline-after-import`]: respect decorator annotations (\[[#1985](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/2022)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-unresolved`]: check import() (\[[#2026](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1237)], thanks \[[@ljqx](https://togithub.com/ljqx)]) - \[Docs] \[`no-named-as-default`]: add semicolon (\[[#1897](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1993)], thanks \[[@dwardu](https://togithub.com/dwardu)]) - \[Docs] `order`: Document options required to match ordering example (\[[#1992](https://togithub.com/import-js/eslint-plugin-import/issues/1992)], thanks \[[@silviogutierrez](https://togithub.com/silviogutierrez)]) - \[Tests] `no-unresolved`: add tests for `import()` (\[[#2012](https://togithub.com/import-js/eslint-plugin-import/issues/2012)], thanks \[[@davidbonnet](https://togithub.com/davidbonnet)]) - \[Docs] Add import/recommended ruleset to README (\[[#2034](https://togithub.com/import-js/eslint-plugin-import/issues/2034)], thanks \[[@edemaine](https://togithub.com/edemaine)]) ### [`v2.22.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2221---2020-09-27) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.22.0...v2.22.1) ##### Fixed - \[`default`]/TypeScript: avoid crash on `export =` with a MemberExpression (\[[#1841](https://togithub.com/import-js/eslint-plugin-import/issues/1841)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`extensions`]/importType: Fix @/abc being treated as scoped module (\[[#1854](https://togithub.com/import-js/eslint-plugin-import/issues/1854)], thanks \[[@3nuc](https://togithub.com/3nuc)]) - allow using rest operator in named export (\[[#1878](https://togithub.com/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1704)], thanks [@tomprats](https://togithub.com/tomprats)) ### [`v2.22.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2220---2020-06-26) [Compare Source](https://togithub.com/import-js/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/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1820)], thanks \[[@fernandopasik](https://togithub.com/fernandopasik)]) - \[`default`]: avoid crash with `export =` (\[[#1822](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1830)], thanks \[[@be5invis](https://togithub.com/be5invis)]) - \[`dynamic-import-chunkname`]/TypeScript: supports `@typescript-eslint/parser` (\[[#1833](https://togithub.com/import-js/eslint-plugin-import/issues/1833)], thanks \[[@noelebrun](https://togithub.com/noelebrun)]) - \[`order`]/TypeScript: ignore ordering of object imports (\[[#1831](https://togithub.com/import-js/eslint-plugin-import/issues/1831)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[`namespace`]: do not report on shadowed import names (\[[#518](https://togithub.com/import-js/eslint-plugin-import/issues/518)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`export`]: avoid warning on `export * as` non-conflicts (\[[#1834](https://togithub.com/import-js/eslint-plugin-import/issues/1834)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[`no-extraneous-dependencies`]: add tests for importing types (\[[#1824](https://togithub.com/import-js/eslint-plugin-import/issues/1824)], thanks \[[@taye](https://togithub.com/taye)]) - \[docs] \[`no-default-export`]: Fix docs url (\[[#1836](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1835)], thanks \[[@beatrizrezener](https://togithub.com/beatrizrezener)]) ### [`v2.21.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2212---2020-06-09) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1808)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`newline-after-import`]: consider TypeScript `import =` syntax' (\[[#1811](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1814)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.21.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2211---2020-06-07) [Compare Source](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1805)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.21.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2210---2020-06-07) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.20.2...v2.21.0) ##### Added - \[`import/default`]: support default export in TSExportAssignment (\[[#1528](https://togithub.com/import-js/eslint-plugin-import/issues/1528)], thanks \[[@joaovieira](https://togithub.com/joaovieira)]) - \[`no-cycle`]: add `ignoreExternal` option (\[[#1681](https://togithub.com/import-js/eslint-plugin-import/issues/1681)], thanks \[[@sveyret](https://togithub.com/sveyret)]) - \[`order`]: Add support for TypeScript's "import equals"-expressions (\[[#1785](https://togithub.com/import-js/eslint-plugin-import/issues/1785)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[`import/default`]: support default export in TSExportAssignment (\[[#1689](https://togithub.com/import-js/eslint-plugin-import/issues/1689)], thanks \[[@Maxim-Mazurok](https://togithub.com/Maxim-Mazurok)]) - \[`no-restricted-paths`]: add custom message support (\[[#1802](https://togithub.com/import-js/eslint-plugin-import/issues/1802)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) ##### Fixed - \[`group-exports`]: Flow type export awareness (\[[#1702](https://togithub.com/import-js/eslint-plugin-import/issues/1702)], thanks \[[@ernestostifano](https://togithub.com/ernestostifano)]) - \[`order`]: Recognize pathGroup config for first group (\[[#1719](https://togithub.com/import-js/eslint-plugin-import/issues/1719)], \[[#1724](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1722)], thanks \[[@Ephem](https://togithub.com/Ephem)]) - \[`no-duplicates`]: Handle TS import type (\[[#1676](https://togithub.com/import-js/eslint-plugin-import/issues/1676)], thanks \[[@kmui2](https://togithub.com/kmui2)]) - \[`newline-after-import`]: recognize decorators (\[[#1139](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1770)], thanks \[[@Hypnosphi](https://togithub.com/Hypnosphi)]) - TypeScript: Add nested namespace handling (\[[#1763](https://togithub.com/import-js/eslint-plugin-import/issues/1763)], thanks \[[@julien1619](https://togithub.com/julien1619)]) - \[`namespace`]/`ExportMap`: Fix interface declarations for TypeScript (\[[#1764](https://togithub.com/import-js/eslint-plugin-import/issues/1764)], thanks \[[@julien1619](https://togithub.com/julien1619)]) - \[`no-unused-modules`]: avoid order-dependence (\[[#1744](https://togithub.com/import-js/eslint-plugin-import/issues/1744)], thanks \[[@darkartur](https://togithub.com/darkartur)]) - \[`no-internal-modules`]: also check `export from` syntax (\[[#1691](https://togithub.com/import-js/eslint-plugin-import/issues/1691)], thanks \[[@adjerbetian](https://togithub.com/adjerbetian)]) - TypeScript: \[`export`]: avoid a crash with `export =` (\[[#1801](https://togithub.com/import-js/eslint-plugin-import/issues/1801)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Refactor] `no-extraneous-dependencies`: use moduleVisitor (\[[#1735](https://togithub.com/import-js/eslint-plugin-import/issues/1735)], thanks \[[@adamborowski](https://togithub.com/adamborowski)]) - TypeScript config: Disable \[`named`]\[] (\[[#1726](https://togithub.com/import-js/eslint-plugin-import/issues/1726)], thanks \[[@astorije](https://togithub.com/astorije)]) - \[readme] Remove duplicate \[`no-unused-modules`] from docs (\[[#1690](https://togithub.com/import-js/eslint-plugin-import/issues/1690)], thanks \[[@arvigeus](https://togithub.com/arvigeus)]) - \[Docs] `order`: fix bad inline config (\[[#1788](https://togithub.com/import-js/eslint-plugin-import/issues/1788)], thanks \[[@nickofthyme](https://togithub.com/nickofthyme)]) - \[Tests] Add fix for Windows Subsystem for Linux (\[[#1786](https://togithub.com/import-js/eslint-plugin-import/issues/1786)], thanks \[[@manuth](https://togithub.com/manuth)]) - \[Docs] `no-unused-rules`: Fix docs for unused exports (\[[#1776](https://togithub.com/import-js/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/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2202---2020-03-28) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.20.1...v2.20.2) ##### Fixed - \[`order`]: fix `isExternalModule` detect on windows (\[[#1651](https://togithub.com/import-js/eslint-plugin-import/issues/1651)], thanks \[[@fisker](https://togithub.com/fisker)]) - \[`order`]: recognize ".." as a "parent" path (\[[#1658](https://togithub.com/import-js/eslint-plugin-import/issues/1658)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-duplicates`]: fix fixer on cases with default import (\[[#1666](https://togithub.com/import-js/eslint-plugin-import/issues/1666)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-unused-modules`]: Handle `export { default } from` syntax (\[[#1631](https://togithub.com/import-js/eslint-plugin-import/issues/1631)], thanks \[[@richardxia](https://togithub.com/richardxia)]) - \[`first`]: Add a way to disable `absolute-first` explicitly (\[[#1664](https://togithub.com/import-js/eslint-plugin-import/issues/1664)], thanks \[[@TheCrueltySage](https://togithub.com/TheCrueltySage)]) - \[Docs] `no-webpack-loader-syntax`: Updates webpack URLs (\[[#1751](https://togithub.com/import-js/eslint-plugin-import/issues/1751)], thanks \[[@MikeyBeLike](https://togithub.com/MikeyBeLike)]) ### [`v2.20.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2201---2020-02-01) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.20.0...v2.20.1) ##### Fixed - \[`export`]: Handle function overloading in `*.d.ts` (\[[#1619](https://togithub.com/import-js/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/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1613)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`extensions`]: Fix scope regex (\[[#1611](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1612)], thanks \[[@sveyret](https://togithub.com/sveyret)]) - Add some missing rule meta schemas and types (\[[#1620](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1569)], \[[#1447](https://togithub.com/import-js/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/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1635)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[Tests] `order`: Add TS import type tests (\[[#1736](https://togithub.com/import-js/eslint-plugin-import/issues/1736)], thanks \[[@kmui2](https://togithub.com/kmui2)]) ### [`v2.20.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2200---2020-01-10) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.19.1...v2.20.0) ##### Added - \[`order`]: added `caseInsensitive` as an additional option to `alphabetize` (\[[#1586](https://togithub.com/import-js/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/import-js/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/import-js/eslint-plugin-import/issues/1565)], thanks \[[@Mairu](https://togithub.com/Mairu)]) ##### Fixed - \[`no-unused-modules`]: fix usage of \[`import/extensions` setting] (\[[#1560](https://togithub.com/import-js/eslint-plugin-import/issues/1560)], thanks \[[@stekycz](https://togithub.com/stekycz)]) - \[`extensions`]: ignore non-main modules (\[[#1563](https://togithub.com/import-js/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/import-js/eslint-plugin-import/issues/1526)], thanks \[[@joaovieira](https://togithub.com/joaovieira)]) - \[`no-extraneous-dependencies`]: ensure `node.source` is truthy (\[[#1589](https://togithub.com/import-js/eslint-plugin-import/issues/1589)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`extensions`]: Ignore query strings when checking for extensions (\[[#1572](https://togithub.com/import-js/eslint-plugin-import/issues/1572)], thanks \[[@pcorpet](https://togithub.com/pcorpet)]) ##### Docs - \[`extensions`]: improve `ignorePackages` docs (\[[#1248](https://togithub.com/import-js/eslint-plugin-import/issues/1248)], thanks \[[@ivo-stefchev](https://togithub.com/ivo-stefchev)]) ### [`v2.19.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2191---2019-12-08) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.19.0...v2.19.1) ##### Fixed - \[`no-extraneous-dependencies`]: ensure `node.source` exists ### [`v2.19.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2190---2019-12-08) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.18.2...v2.19.0) ##### Added - \[`internal-regex` setting]: regex pattern for marking packages "internal" (\[[#1491](https://togithub.com/import-js/eslint-plugin-import/issues/1491)], thanks \[[@Librazy](https://togithub.com/Librazy)]) - \[`group-exports`]: make aggregate module exports valid (\[[#1472](https://togithub.com/import-js/eslint-plugin-import/issues/1472)], thanks \[[@atikenny](https://togithub.com/atikenny)]) - \[`no-namespace`]: Make rule fixable (\[[#1401](https://togithub.com/import-js/eslint-plugin-import/issues/1401)], thanks \[[@TrevorBurnham](https://togithub.com/TrevorBurnham)]) - support `parseForESLint` from custom parser (\[[#1435](https://togithub.com/import-js/eslint-plugin-import/issues/1435)], thanks \[[@JounQin](https://togithub.com/JounQin)]) - \[`no-extraneous-dependencies`]: Implement support for [bundledDependencies](https://npm.github.io/using-pkgs-docs/package-json/types/bundleddependencies.html) (\[[#1436](https://togithub.com/import-js/eslint-plugin-import/issues/1436)], thanks \[[@schmidsi](https://togithub.com/schmidsi)])) - \[`no-unused-modules`]: add flow type support (\[[#1542](https://togithub.com/import-js/eslint-plugin-import/issues/1542)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - \[`order`]: Adds support for pathGroups to allow ordering by defined patterns (\[[#795](https://togithub.com/import-js/eslint-plugin-import/issues/795)], \[[#1386](https://togithub.com/import-js/eslint-plugin-import/issues/1386)], thanks \[[@Mairu](https://togithub.com/Mairu)]) - \[`no-duplicates`]: Add `considerQueryString` option : allow duplicate imports with different query strings (\[[#1107](https://togithub.com/import-js/eslint-plugin-import/issues/1107)], thanks \[[@pcorpet](https://togithub.com/pcorpet)]). - \[`order`]: Add support for alphabetical sorting of import paths within import groups (\[[#1360](https://togithub.com/import-js/eslint-plugin-import/issues/1360)], \[[#1105](https://togithub.com/import-js/eslint-plugin-import/issues/1105)], \[[#629](https://togithub.com/import-js/eslint-plugin-import/issues/629)], thanks \[[@duncanbeevers](https://togithub.com/duncanbeevers)], \[[@stropho](https://togithub.com/stropho)], \[[@luczsoma](https://togithub.com/luczsoma)], \[[@randallreedjr](https://togithub.com/randallreedjr)]) - \[`no-commonjs`]: add `allowConditionalRequire` option (\[[#1439](https://togithub.com/import-js/eslint-plugin-import/issues/1439)], thanks \[[@Pessimistress](https://togithub.com/Pessimistress)]) ##### Fixed - \[`default`]: make error message less confusing (\[[#1470](https://togithub.com/import-js/eslint-plugin-import/issues/1470)], thanks \[[@golopot](https://togithub.com/golopot)]) - Improve performance of `ExportMap.for` by only loading paths when necessary. (\[[#1519](https://togithub.com/import-js/eslint-plugin-import/issues/1519)], thanks \[[@brendo](https://togithub.com/brendo)]) - Support export of a merged TypeScript namespace declaration (\[[#1495](https://togithub.com/import-js/eslint-plugin-import/issues/1495)], thanks \[[@benmunro](https://togithub.com/benmunro)]) - \[`order`]: fix autofix to not move imports across fn calls (\[[#1253](https://togithub.com/import-js/eslint-plugin-import/issues/1253)], thanks \[[@tihonove](https://togithub.com/tihonove)]) - \[`prefer-default-export`]: fix false positive with type export (\[[#1506](https://togithub.com/import-js/eslint-plugin-import/issues/1506)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`extensions`]: Fix `ignorePackages` to produce errors (\[[#1521](https://togithub.com/import-js/eslint-plugin-import/issues/1521)], thanks \[[@saschanaz](https://togithub.com/saschanaz)]) - \[`no-unused-modules`]: fix crash due to `export *` (\[[#1496](https://togithub.com/import-js/eslint-plugin-import/issues/1496)], thanks \[[@Taranys](https://togithub.com/Taranys)]) - \[`no-cycle`]: should not warn for Flow imports (\[[#1494](https://togithub.com/import-js/eslint-plugin-import/issues/1494)], thanks \[[@maxmalov](https://togithub.com/maxmalov)]) - \[`order`]: fix `@someModule` considered as `unknown` instead of `internal` (\[[#1493](https://togithub.com/import-js/eslint-plugin-import/issues/1493)], thanks \[[@aamulumi](https://togithub.com/aamulumi)]) - \[`no-extraneous-dependencies`]: Check `export from` (\[[#1049](https://togithub.com/import-js/eslint-plugin-import/issues/1049)], thanks \[[@marcusdarmstrong](https://togithub.com/marcusdarmstrong)]) ##### Docs - \[`no-useless-path-segments`]: add docs for option `commonjs` (\[[#1507](https://togithub.com/import-js/eslint-plugin-import/issues/1507)], thanks \[[@golopot](https://togithub.com/golopot)]) ##### Changed - \[`no-unused-modules`]/`eslint-module-utils`: Avoid superfluous calls and code (\[[#1551](https://togithub.com/import-js/eslint-plugin-import/issues/1551)], thanks \[[@brettz9](https://togithub.com/brettz9)]) ### [`v2.18.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2182---2019-07-19) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.18.1...v2.18.2) ##### Fixed - Skip warning on type interfaces (\[[#1425](https://togithub.com/import-js/eslint-plugin-import/issues/1425)], thanks \[[@lencioni](https://togithub.com/lencioni)]) ### [`v2.18.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2181---2019-07-18) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.18.0...v2.18.1) ##### Fixed - Improve parse perf when using `@typescript-eslint/parser` (\[[#1409](https://togithub.com/import-js/eslint-plugin-import/issues/1409)], thanks \[[@bradzacher](https://togithub.com/bradzacher)]) - \[`prefer-default-export`]: don't warn on TypeAlias & TSTypeAliasDeclaration (\[[#1377](https://togithub.com/import-js/eslint-plugin-import/issues/1377)], thanks \[[@sharmilajesupaul](https://togithub.com/sharmilajesupaul)]) - \[`no-unused-modules`]: Exclude package "main"/"bin"/"browser" entry points (\[[#1404](https://togithub.com/import-js/eslint-plugin-import/issues/1404)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - \[`export`]: false positive for TypeScript overloads (\[[#1412](https://togithub.com/import-js/eslint-plugin-import/issues/1412)], thanks \[[@golopot](https://togithub.com/golopot)]) ##### Refactors - \[`no-extraneous-dependencies`], `importType`: remove lodash (\[[#1419](https://togithub.com/import-js/eslint-plugin-import/issues/1419)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.18.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2180---2019-06-24) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.17.3...v2.18.0) ##### Added - Support eslint v6 (\[[#1393](https://togithub.com/import-js/eslint-plugin-import/issues/1393)], thanks \[[@sheepsteak](https://togithub.com/sheepsteak)]) - \[`order`]: Adds support for correctly sorting unknown types into a single group (\[[#1375](https://togithub.com/import-js/eslint-plugin-import/issues/1375)], thanks \[[@swernerx](https://togithub.com/swernerx)]) - \[`order`]: add fixer for destructuring commonjs import (\[[#1372](https://togithub.com/import-js/eslint-plugin-import/issues/1372)], thanks \[[@golopot](https://togithub.com/golopot)]) - TypeScript config: add TS def extensions + defer to TS over JS (\[[#1366](https://togithub.com/import-js/eslint-plugin-import/issues/1366)], thanks \[[@benmosher](https://togithub.com/benmosher)]) ##### Fixed - \[`no-unused-modules`]: handle ClassDeclaration (\[[#1371](https://togithub.com/import-js/eslint-plugin-import/issues/1371)], thanks \[[@golopot](https://togithub.com/golopot)]) ##### Docs - \[`no-cycle`]: split code examples so file separation is obvious (\[[#1370](https://togithub.com/import-js/eslint-plugin-import/issues/1370)], thanks \[[@alex-page](https://togithub.com/alex-page)]) - \[`no-named-as-default-member`]: update broken link (\[[#1389](https://togithub.com/import-js/eslint-plugin-import/issues/1389)], thanks \[[@fooloomanzoo](https://togithub.com/fooloomanzoo)]) ### [`v2.17.3`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2173---2019-05-23) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.17.2...v2.17.3) ##### Fixed - \[`no-common-js`]: Also throw an error when assigning (\[[#1354](https://togithub.com/import-js/eslint-plugin-import/issues/1354)], thanks \[[@charlessuh](https://togithub.com/charlessuh)]) - \[`no-unused-modules`]: don't crash when lint file outside src-folder (\[[#1347](https://togithub.com/import-js/eslint-plugin-import/issues/1347)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - \[`no-unused-modules`]: make `import { name as otherName }` work (\[[#1340](https://togithub.com/import-js/eslint-plugin-import/issues/1340)], \[[#1342](https://togithub.com/import-js/eslint-plugin-import/issues/1342)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - \[`no-unused-modules`]: make appveyor tests passing (\[[#1333](https://togithub.com/import-js/eslint-plugin-import/issues/1333)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - \[`named`]: ignore Flow `typeof` imports and `type` exports (\[[#1345](https://togithub.com/import-js/eslint-plugin-import/issues/1345)], thanks \[[@loganfsmyth](https://togithub.com/loganfsmyth)]) - \[refactor] fix eslint 6 compat by fixing imports (thank \[[@ljharb](https://togithub.com/ljharb)]) - Improve support for TypeScript declare structures (\[[#1356](https://togithub.com/import-js/eslint-plugin-import/issues/1356)], thanks \[[@christophercurrie](https://togithub.com/christophercurrie)]) ##### Docs - add missing `no-unused-modules` in README (\[[#1358](https://togithub.com/import-js/eslint-plugin-import/issues/1358)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-unused-modules`]: Indicates usage, plugin defaults to no-op, and add description to main README.md (\[[#1352](https://togithub.com/import-js/eslint-plugin-import/issues/1352)], thanks \[[@johndevedu](https://togithub.com/johndevedu)]) - Document `env` option for `eslint-import-resolver-webpack` (\[[#1363](https://togithub.com/import-js/eslint-plugin-import/issues/1363)], thanks \[[@kgregory](https://togithub.com/kgregory)]) ### [`v2.17.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2172---2019-04-16) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.17.1...v2.17.2) ##### Fixed - \[`no-unused-modules`]: avoid crash when using `ignoreExports`-option (\[[#1331](https://togithub.com/import-js/eslint-plugin-import/issues/1331)], \[[#1323](https://togithub.com/import-js/eslint-plugin-import/issues/1323)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - \[`no-unused-modules`]: make sure that rule with no options will not fail (\[[#1330](https://togithub.com/import-js/eslint-plugin-import/issues/1330)], \[[#1334](https://togithub.com/import-js/eslint-plugin-import/issues/1334)], thanks \[[@kiwka](https://togithub.com/kiwka)]) ### [`v2.17.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2171---2019-04-13) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.17.0...v2.17.1) ##### Fixed - require v2.4 of `eslint-module-utils` (\[[#1322](https://togithub.com/import-js/eslint-plugin-import/issues/1322)]) ### [`v2.17.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2170---2019-04-13) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.16.0...v2.17.0) ##### Added - \[`no-useless-path-segments`]: Add `noUselessIndex` option (\[[#1290](https://togithub.com/import-js/eslint-plugin-import/issues/1290)], thanks \[[@timkraut](https://togithub.com/timkraut)]) - \[`no-duplicates`]: Add autofix (\[[#1312](https://togithub.com/import-js/eslint-plugin-import/issues/1312)], thanks \[[@lydell](https://togithub.com/lydell)]) - Add \[`no-unused-modules`] rule (\[[#1142](https://togithub.com/import-js/eslint-plugin-import/issues/1142)], thanks \[[@rfermann](https://togithub.com/rfermann)]) - support export type named exports from TypeScript (\[[#1304](https://togithub.com/import-js/eslint-plugin-import/issues/1304)], thanks \[[@bradennapier](https://togithub.com/bradennapier)] and \[[@schmod](https://togithub.com/schmod)]) ##### Fixed - \[`order`]: Fix interpreting some external modules being interpreted as internal modules (\[[#793](https://togithub.com/import-js/eslint-plugin-import/issues/793)], \[[#794](https://togithub.com/import-js/eslint-plugin-import/issues/794)] thanks \[[@ephys](https://togithub.com/ephys)]) - allow aliases that start with @ to be "internal" (\[[#1293](https://togithub.com/import-js/eslint-plugin-import/issues/1293)], \[[#1294](https://togithub.com/import-js/eslint-plugin-import/issues/1294)], thanks \[[@jeffshaver](https://togithub.com/jeffshaver)]) - aliased internal modules that look like core modules (\[[#1297](https://togithub.com/import-js/eslint-plugin-import/issues/1297)], thanks \[[@echenley](https://togithub.com/echenley)]) - \[`namespace`]: add check for null ExportMap (\[[#1235](https://togithub.com/import-js/eslint-plugin-import/issues/1235)], \[[#1144](https://togithub.com/import-js/eslint-plugin-import/issues/1144)], thanks \[[@ljqx](https://togithub.com/ljqx)]) - \[ExportMap] fix condition for checking if block comment (\[[#1234](https://togithub.com/import-js/eslint-plugin-import/issues/1234)], \[[#1233](https://togithub.com/import-js/eslint-plugin-import/issues/1233)], thanks \[[@ljqx](https://togithub.com/ljqx)]) - Fix overwriting of dynamic import() CallExpression (\[`no-cycle`], \[`no-relative-parent-imports`], \[`no-unresolved`], \[`no-useless-path-segments`]) (\[[#1218](https://togithub.com/import-js/eslint-plugin-import/issues/1218)], \[[#1166](https://togithub.com/import-js/eslint-plugin-import/issues/1166)], \[[#1035](https://togithub.com/import-js/eslint-plugin-import/issues/1035)], thanks \[[@vikr01](https://togithub.com/vikr01)]) - \[`export`]: false positives for TypeScript type + value export (\[[#1319](https://togithub.com/import-js/eslint-plugin-import/issues/1319)], thanks \[[@bradzacher](https://togithub.com/bradzacher)]) - \[`export`]: Support TypeScript namespaces (\[[#1320](https://togithub.com/import-js/eslint-plugin-import/issues/1320)], \[[#1300](https://togithub.com/import-js/eslint-plugin-import/issues/1300)], thanks \[[@bradzacher](https://togithub.com/bradzacher)]) ##### Docs - Update readme for TypeScript (\[[#1256](https://togithub.com/import-js/eslint-plugin-import/issues/1256)], \[[#1277](https://togithub.com/import-js/eslint-plugin-import/issues/1277)], thanks \[[@kirill-konshin](https://togithub.com/kirill-konshin)]) - make rule names consistent (\[[#1112](https://togithub.com/import-js/eslint-plugin-import/issues/1112)], thanks \[[@feychenie](https://togithub.com/feychenie)]) ##### Tests - fix broken tests on master (\[[#1295](https://togithub.com/import-js/eslint-plugin-import/issues/1295)], thanks \[[@jeffshaver](https://togithub.com/jeffshaver)] and \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-commonjs`]: add tests that show corner cases (\[[#1308](https://togithub.com/import-js/eslint-plugin-import/issues/1308)], thanks \[[@TakeScoop](https://togithub.com/TakeScoop)])Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.