axe312ger / gatsby-transformer-inline-svg

Read and optimize SVG file nodes to render them inline in your website.
12 stars 11 forks source link

chore(deps): update dependency eslint-plugin-import to v2.25.4 #55

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import 2.20.1 -> 2.25.4 age adoption passing confidence

Release Notes

import-js/eslint-plugin-import ### [`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)]) ### [`v2.23.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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/HEAD/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)])

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.