ESLint: Remove legacy import suppressions - #81338
Merged
Merged
Conversation
|
Size Change: 0 B Total Size: 7.82 MB |
ciampo
marked this pull request as ready for review
August 7, 2026 12:02
ciampo
requested review from
a team,
adamziel,
ajitbohra,
draganescu,
gigitux,
kevin940726,
ntsekouras,
ntwb,
oandregal,
ryanwelcher and
t-hamano
as code owners
August 7, 2026 12:02
ciampo
requested review from
ellatrix,
fabiankaegy,
getdave,
juanmaguitar and
tellthemachines
as code owners
August 7, 2026 12:02
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
amitraj2203
pushed a commit
that referenced
this pull request
Aug 10, 2026
* ESLint: Remove legacy import suppressions * ESLint: Align import examples and templates --- Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org> Co-authored-by: aduth <aduth@git.wordpress.org>
shail-mehta
pushed a commit
that referenced
this pull request
Aug 12, 2026
* ESLint: Remove legacy import suppressions * ESLint: Align import examples and templates --- Co-authored-by: ciampo <mciampini@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org> Co-authored-by: aduth <aduth@git.wordpress.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #81188.
What?
Completes the dependency-import lint migration by fixing the remaining 62
import/orderviolations and removing their bulk suppressions. It also removes stale dependency-group comments from documentation, generators, templates, and excluded configuration files.Why?
The rules now run globally, but the remaining suppressions and unlinted examples still allowed the retired import style to persist or be generated again.
How?
import/orderentry fromtools/eslint/suppressions.json..git-blame-ignore-revs.Testing Instructions
npm run lint:js -- --format compact --quiet --prune-suppressions.npm run test:unit -- packages/eslint-plugin/rules/__tests__/dependency-group.js --runInBand.npm run test:unit -- packages/docgen/test packages/readable-js-assets-webpack-plugin/test packages/env/lib/test --runInBand.npm run -w packages/icons buildand confirm it creates no additional tracked changes.Testing Instructions for Keyboard
Not applicable. This PR has no user interface changes.
Use of AI Tools
This PR was authored with Codex and reviewed by the author.