Update eslint-plugin-import 2.30.0 → 2.32.0 (minor) #161
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ eslint-plugin-import (2.30.0 → 2.32.0) · Repo · Changelog
Release Notes
2.32.0
2.31.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 74 commits:
v2.32.0[Deps] update `array-includes`, `array.prototype.findlastindex`, `eslint-module-utils`[Fix] `order`: codify invariants from docs into config schema[Docs] `no-restricted-paths`: clarify wording and fix errors[Docs] `no-unused-modules`: add missing double quote[utils] v2.12.1[actions] split out tests into new vs old eslint[utils] [dev deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/node`[Fix] `enforce-node-protocol-usage`: avoid a crash with some TS code[Refactor] `order`: remove unnecessary negative check[Fix] `order`: resolve undefined property access issue when using `named` ordering[New] `order`: add `consolidateIslands` option to collapse excess spacing for aesthetically pleasing imports[Fix] `order`: ensure arcane imports do not cause undefined behavior[meta] issue template with guidance for bug reports[New] `order`: add `newlines-between-types` option to control intragroup sorting of type-only imports[Fix] configs: added missing name attribute for eslint config inspector[New] `order`: add `sortTypesGroup` option to allow intragroup sorting of type-only imports[readme] Update flatConfig example to include typescript config[New] `extensions`: add `pathGroupOverrides to allow enforcement decision overrides based on specifier[Docs] `order`: remove mistakenly included sections in #3106[Deps] update `array.prototype.flat`, `array.prototype.flatmap`, `is-core-module`, `object.values`[Fix] `no-unused-modules`: provide more meaningful error message when no eslintrc is present[Docs] add missing comma[Docs] add flat config guide for using `tseslint.config()`[utils] [fix] `unambiguous` detect modules exported from minified code[Deps] update `string.prototype.trimend`[New] add TypeScript types[resolvers/webpack] v0.13.10[resolvers/webpack] [deps] update `hasown`, `is-core-module`, `is-regex`[New] add `enforce-node-protocol-usage` rule and `import/node-version` setting[Docs] `extensions`, `order`: improve documentation[Docs] `dynamic-import-chunkname`: fix typo in usage of the rule[resolvers/webpack] [new] add cache option[meta] add missing changelog linksv2.31.0[utils] [refactor] `parse`: avoid using a regex here[New] `extensions`: add the `checkTypeImports` option[Tests] `rule-tester`: try this babel class workaround[New] support eslint v9[Fix] adjust "is source type module" checks for flat config[Refactor] create `sourceType` helper[Tests] `no-default-export`, `no-named-export`: add test cases with non-module `sourceType`[Tests] `no-default-export`, `no-named-export`: add test case[Docs] `no-restricted-paths`: fix grammar[Fix] `exportMap`: improve cacheKey when using flat config[utils] v2.12.0[utils] [new] `hash`: add support for hashing functions[Tests] use re-exported `RuleTester`[Fix] `exportMap`: export map cache is tainted by unreliable parse results[Docs] `no-cycle`: add `disableScc` to docs[Tests] `no-cycle`: don't override the filename[Tests] don't include output when nothing has been changed[Deps] update `eslint-module-utils`[Performance] `no-cycle`: dont scc for each linted file[Refactor] add some more type info; switch for-ofs to forEaches[Fix] `export`: False positive for exported overloaded functions in TS[utils] v2.11.1[utils] [fix] `parse`: add `ecmaVersion` and `sourceType` to `parserOptions`[utils] [fix] `parse`: espree parser isn't working with flat config[Docs] `no-relative-packages`: fix typo[utils] [fix] `parse`: remove unneeded extra backticks[Fix] `no-named-as-default`: Allow using an identifier if the export is both a named and a default export[New] `order`: allow validating named imports[Refactor] `namespace`, `no-deprecated`: update `declaredScope` to use new `getScope` when possible[utils] v2.11.0[utils] [new] `declaredScope`: take a `node` for modern eslint versions[Tests] remove more duplicates[Tests] `no-empty-named-blocks`: add a `message`[Refactor] migrate some more places to contextCompat helpers[Refactor] use `contextCompat` helpers[utils] v2.10.0[utils] [new] add context compatibility helpers[meta] fix links in old changelog entries[Fix] `ExportMap` / flat config: include `languageOptions` in contextDepfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands