Created by: dependabot[bot]
Bumps eslint-plugin-import from 2.22.1 to 2.23.2.
Release notes
Sourced from eslint-plugin-import's releases.
v2.23.0
https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13
Changelog
Sourced from eslint-plugin-import's changelog.
[2.23.2] - 2021-05-15
Changed
- [meta] add
safe-publish-latest
; useprepublishOnly
script for npm 7+[2.23.1] - 2021-05-14
Fixed
- [
newline-after-import
]: fix crash withexport {}
syntax (#2063, #2056, thanks [@ljharb
])ExportMap
: do not crash when tsconfig lacks.compilerOptions
(#2067, thanks [@ljharb
])- [
order
]: fix alphabetical sorting (#2071, thanks [@grit96
])[2.23.0] - 2021-05-13
Added
- [
no-commonjs
]: Also detect require calls with expressionless template literals:require(`x`)
(#1958, thanks [@FloEdelmann
])- [
no-internal-modules
]: Addforbid
option (#1846, thanks [@guillaumewuip
])- add [
no-relative-packages
] (#1860, #966, thanks [@tapayne88
] [@panrafal
])- add [
no-import-module-exports
] rule: report import declarations with CommonJS exports (#804, thanks [@kentcdodds
] and [@ttmarek
])- [
no-unused-modules
]: Support destructuring assignment forexport
. (#1997, thanks [@s-h-a-d-o-w
])- [
order
]: support type imports (#2021, thanks [@grit96
])- [
order
]: AddwarnOnUnassignedImports
option to enable warnings for out of order unassigned imports (#1990, thanks [@hayes
])Fixed
- [
export
]/TypeScript: properly detect export specifiers as children of a TS module block (#1889, thanks [@andreubotella
])- [
order
]: ignore non-module-level requires (#1940, thanks [@golopot
])- [
no-webpack-loader-syntax
]/TypeScript: avoid crash on missing name (#1947, thanks [@leonardodino
])- [
no-extraneous-dependencies
]: Add package.json cache (#1948, thanks [@fa93hws
])- [
prefer-default-export
]: handle empty array destructuring (#1965, thanks [@ljharb
])- [
no-unused-modules
]: make type imports mark a module as used (fixes #1924) (#1974, thanks [@cherryblossom000
])- [
no-cycle
]: fix perf regression (#1944, thanks [@Blasz
])- [
first
]: fix handling ofimport = require
(#1963, thanks [@MatthiasKunnen
])- [
no-cycle
]/[extensions
]: fix isExternalModule usage (#1696, thanks [@paztis
])- [
extensions
]/[no-cycle
]/[no-extraneous-dependencies
]: Correct module real path resolution (#1696, thanks [@paztis
])- [
no-named-default
]: ignore Flow import type and typeof (#1983, thanks [@christianvuerings
])- [
no-extraneous-dependencies
]: Exclude flowtypeof
imports (#1534, thanks [@devongovett
])- [
newline-after-import
]: respect decorator annotations (#1985, thanks [@lilling
])- [
no-restricted-paths
]: enhance performance for zones withexcept
paths (#2022, thanks [@malykhinvi
])- [
no-unresolved
]: check import() (#2026, thanks [@aladdin-add
])Changed
- [Generic Import Callback] Make callback for all imports once in rules (#1237, thanks [
@ljqx
])- [Docs] [
no-named-as-default
]: add semicolon (#1897, thanks [@bicstone
])- [Docs]
no-extraneous-dependencies
: correct peerDependencies option default totrue
(#1993, thanks [@dwardu
])- [Docs]
order
: Document options required to match ordering example (#1992, thanks [@silviogutierrez
])- [Tests]
no-unresolved
: add tests forimport()
(#2012, thanks [@davidbonnet
])- [Docs] Add import/recommended ruleset to README (#2034, thanks [
@edemaine
])
Commits
-
a332f20
Bump to v2.23.2 -
5af181f
[meta] addsafe-publish-latest
; useprepublishOnly
script for npm 7+ -
8431b46
Bump to v2.23.1 -
83f3c3e
[Fix]order
: fix alphabetical sorting -
8213543
[Tests] add missing fixture from d903477f4e31be71e016f8af56cbe2a8d4f11c9c -
d903477
[Fix] ExportMap: do not crash when tsconfig lacks.compilerOptions
-
dd0e8cb
[meta] correct #2065 -> #2056 -
8d7ec17
[Fix]newline-after-import
: fix crash withexport {}
syntax -
e9e755d
Bump to v2.23.0 -
7b264c0
[resolvers/webpack] v0.13.1 - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)