chore: migrate to ESLint extends config structure#1545
Merged
jennifer-shehane merged 5 commits intoOct 23, 2025
Conversation
Collaborator
|
Collaborator
Author
|
Please also review / merge this PR that has been waiting for several weeks for attention! Although the contents are non-critical, it is nevertheless a meaningful enhancement. The Markdown link check failure is due to a temporary server error of https://ubuntu.com/ and can be ignored. It should self-correct when Ubuntu fixes their server. I'm holding back any further PRs to this repo until the backlog is cleared. |
jennifer-shehane
approved these changes
Oct 23, 2025
|
🎉 This PR is included in version 6.10.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Supersedes related Renovate PRs:
Situation
The ESLint 9.22.0 release provided a new config feature described in the blog article Evolving flat config with extends and which is now the documented way to construct ESLint Configuration Files.
The ESLint configuration eslint.config.mjs does not yet use this feature. The new functionality would allow constructing this ESLint config in a simpler and more maintainable way.
Change
The ESLint configuration is simplified and updated, in detail as follows. Minor example source code linting fixes are carried out.
Update the ESLint configuration eslint.config.mjs to use the
defineConfig()function, imported from theeslint/configentrypoint according to the Configuration Files documentation.Align import naming for best agreement with ESLint and eslint-plugin-cypress documentation
Update to latest ESLint components
Fix recommended rule violations
Add rules and fix violations:
['error', 'always']['error', 'always']Note that only example sources are changed, so this PR does not cause any version update to the action itself.
Verification
Confirm no errors reported and no changes suggested.