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; useprepublishOnlyscript 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]: Addforbidoption (#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]: AddwarnOnUnassignedImportsoption 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 flowtypeofimports (#1534, thanks [@devongovett])- [
newline-after-import]: respect decorator annotations (#1985, thanks [@lilling])- [
no-restricted-paths]: enhance performance for zones withexceptpaths (#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
-
a332f20Bump to v2.23.2 -
5af181f[meta] addsafe-publish-latest; useprepublishOnlyscript for npm 7+ -
8431b46Bump 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 -
e9e755dBump to v2.23.0 -
7b264c0[resolvers/webpack] v0.13.1 - Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot will merge this PR once CI passes on it, as requested by @XhmikosR.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)