Open mend-for-github-com[bot] opened 11 months ago
This PR contains the following updates:
2.21.2
2.22.0
By merging this PR, the below issues will be automatically resolved and closed:
This PR contains the following updates:
2.21.2
->2.22.0
By merging this PR, the below issues will be automatically resolved and closed:
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
import-js/eslint-plugin-import (eslint-plugin-import)
### [`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)])