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
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
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