Update eslint-plugin-import 2.30.0 → 2.31.0 (minor) #577
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.31.0) · Repo · Changelog
Release Notes
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 40 commits:
v2.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 context
Depfu 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