chore(deps): update dependency eslint-plugin-import to v2.22.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
eslint-plugin-import | devDependencies | minor | 2.20.2 -> 2.22.0 |
Release Notes
benmosher/eslint-plugin-import
v2.22.0
Added
- [
no-unused-modules
]: consider exported TypeScript interfaces, types and enums ([#1819], thanks [@nicolashenry]) - [
no-cycle
]: allowmaxDepth
option to be"∞"
(thanks [@ljharb])
Fixed
- [
order
]/TypeScript: properly supportimport = object
expressions ([#1823], thanks [@manuth]) - [
no-extraneous-dependencies
]/TypeScript: do not error when importing type from dev dependencies ([#1820], thanks [@fernandopasik]) - [
default
]: avoid crash withexport =
([#1822], thanks [@AndrewLeedham]) - [
order
]/[newline-after-import
]: ignore TypeScript's "export import object" ([#1830], thanks [@be5invis]) - [
dynamic-import-chunkname
]/TypeScript: supports@typescript-eslint/parser
([#1833], thanks [@noelebrun]) - [
order
]/TypeScript: ignore ordering of object imports ([#1831], thanks [@manuth]) - [
namespace
]: do not report on shadowed import names ([#518], thanks [@ljharb]) - [
export
]: avoid warning onexport * as
non-conflicts ([#1834], thanks [@ljharb])
Changed
- [
no-extraneous-dependencies
]: add tests for importing types ([#1824], thanks [@taye]) - [docs][
no-default-export
]: Fix docs url ([#1836], thanks [@beatrizrezener]) - [docs][
imports-first
]: deprecation info and link tofirst
docs ([#1835], thanks [@beatrizrezener])
v2.21.2
Fixed
- [
order
]: avoid a crash on TypeScript’sexport import
syntax ([#1808], thanks [@ljharb]) - [
newline-after-import
]: consider TypeScriptimport =
syntax' ([#1811], thanks [@ljharb]) - [
no-internal-modules
]: avoid a crash on a named export declaration ([#1814], thanks [@ljharb])
v2.21.1
Fixed
- TypeScript: [
import/named
]: avoid requiringtypescript
when not using TS ([#1805], thanks [@ljharb])
v2.21.0
Added
- [
import/default
]: support default export in TSExportAssignment ([#1528], thanks [@joaovieira]) - [
no-cycle
]: addignoreExternal
option ([#1681], thanks [@sveyret]) - [
order
]: Add support for TypeScript's "import equals"-expressions ([#1785], thanks [@manuth]) - [
import/default
]: support default export in TSExportAssignment ([#1689], thanks [@Maxim-Mazurok]) - [
no-restricted-paths
]: add custom message support ([#1802], thanks [@malykhinvi])
Fixed
- [
group-exports
]: Flow type export awareness ([#1702], thanks [@ernestostifano]) - [
order
]: Recognize pathGroup config for first group ([#1719], [#1724], thanks [@forivall], [@xpl]) - [
no-unused-modules
]: Fix re-export not counting as usage when used in combination with import ([#1722], thanks [@Ephem]) - [
no-duplicates
]: Handle TS import type ([#1676], thanks [@kmui2]) - [
newline-after-import
]: recognize decorators ([#1139], thanks [@atos1990]) - [
no-unused-modules
]: Revert "[flow]no-unused-modules
: add flow type support" ([#1770], thanks [@Hypnosphi]) - TypeScript: Add nested namespace handling ([#1763], thanks [@julien1619])
- [
namespace
]/ExportMap
: Fix interface declarations for TypeScript ([#1764], thanks [@julien1619]) - [
no-unused-modules
]: avoid order-dependence ([#1744], thanks [@darkartur]) - [
no-internal-modules
]: also checkexport from
syntax ([#1691], thanks [@adjerbetian]) - TypeScript: [
export
]: avoid a crash withexport =
([#1801], thanks [@ljharb])
Changed
- [Refactor]
no-extraneous-dependencies
: use moduleVisitor ([#1735], thanks [@adamborowski]) - TypeScript config: Disable [
named
][] ([#1726], thanks [@astorije]) - [readme] Remove duplicate no-unused-modules from docs ([#1690], thanks [@arvigeus])
- [Docs]
order
: fix bad inline config ([#1788], thanks [@nickofthyme]) - [Tests] Add fix for Windows Subsystem for Linux ([#1786], thanks [@manuth])
- [Docs]
no-unused-rules
: Fix docs for unused exports ([#1776], thanks [@barbogast]) - [eslint] bump minimum v7 version to v7.2.0
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by WhiteSource Renovate. View repository job log here.
Edited by Mend Renovate