Sourced from eslint-plugin-import's changelog.
[2.22.0] - 2020-06-26
Added
- [
no-unused-modules]: consider exported TypeScript interfaces, types and enums (#1819, thanks [nicolashenry])- [
no-cycle]: allowmaxDepthoption to be"∞"(thanks [ljharb])Fixed
- [
order]/TypeScript: properly supportimport = objectexpressions (#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: supportstypescript-eslint/parser(#1833, thanks [noelebrun])- [
order]/TypeScript: ignore ordering of object imports (#1831, thanks [manuth])- [
namespace]: do not report on shadowed import names (https://github.com/facebook/flipper/issues/518, thanks [ljharb])- [
export]: avoid warning onexport * asnon-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 tofirstdocs (#1835, thanks [beatrizrezener])[2.21.2] - 2020-06-09
Fixed
- [
order]: avoid a crash on TypeScript’sexport importsyntax (#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])[2.21.1] - 2020-06-07
Fixed
[2.21.0] - 2020-06-07
Added
- [
import/default]: support default export in TSExportAssignment (#1528, thanks [joaovieira])- [
no-cycle]: addignoreExternaloption (#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 (https://github.com/facebook/flipper/issues/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 fromsyntax (#1691, thanks [adjerbetian])- TypeScript: [
export]: avoid a crash withexport =(#1801, thanks [ljharb])
878ce6e Bump to v2.22.036a535b fixup: [Tests] export: skip export * as tests in eslint < 67ceae48 [Tests] export: skip export * as tests in eslint < 607dc92a [Fix] export: avoid warning on export * as non-conflictsb944e94 [Fix] namespace: do not report on shadowed import namesa963e8d [Refactor] namespace: clean up the code a bita6cd6bd [docs] imports-first: deprecation info and link to first docs2468f10 [docs] no-default-export: Fix docs urlc38b169 [patch] order/TypeScript: ignore ordering of object importsbfc50b7 [New] no-cycle: allow maxDepth option to be "∞"