feat: circular autofix/conflicting rules detection#19514
Merged
Conversation
✅ Deploy Preview for docs-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
1 task
nzakas
reviewed
Mar 14, 2025
Member
nzakas
left a comment
There was a problem hiding this comment.
The code looks good to me. Can we also add a troubleshooting page that describes this error and what to do about it? I can imagine someone seeing this error and not understanding what it means or what to do about it.
Member
Author
|
Added a troubleshooting page in e423966. |
nzakas
previously approved these changes
Mar 17, 2025
Member
nzakas
left a comment
There was a problem hiding this comment.
Just cleaned up the docs a bit, but otherwise LGTM.
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
mdjermanovic
commented
Mar 17, 2025
nzakas
approved these changes
Mar 17, 2025
vaernion
pushed a commit
to Arbeidstilsynet/brevgen2
that referenced
this pull request
Dec 3, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@eslint/js](https://eslint.org) ([source](https://github.com/eslint/eslint/tree/HEAD/packages/js)) | devDependencies | minor | [`9.22.0` -> `9.23.0`](https://renovatebot.com/diffs/npm/@eslint%2fjs/9.22.0/9.23.0) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | minor | [`9.22.0` -> `9.23.0`](https://renovatebot.com/diffs/npm/eslint/9.22.0/9.23.0) | --- ### Release Notes <details> <summary>eslint/eslint (@​eslint/js)</summary> ### [`v9.23.0`](https://github.com/eslint/eslint/releases/tag/v9.23.0) [Compare Source](eslint/eslint@v9.22.0...v9.23.0) ##### Features - [`557a0d2`](eslint/eslint@557a0d2) feat: support TypeScript syntax in no-useless-constructor ([#​19535](eslint/eslint#19535)) (Josh Goldberg ✨) - [`8320241`](eslint/eslint@8320241) feat: support TypeScript syntax in `default-param-last` ([#​19431](eslint/eslint#19431)) (Josh Goldberg ✨) - [`833c4a3`](eslint/eslint@833c4a3) feat: defineConfig() supports "flat/" config prefix ([#​19533](eslint/eslint#19533)) (Nicholas C. Zakas) - [`4a0df16`](eslint/eslint@4a0df16) feat: circular autofix/conflicting rules detection ([#​19514](eslint/eslint#19514)) (Milos Djermanovic) - [`be56a68`](eslint/eslint@be56a68) feat: support TypeScript syntax in `class-methods-use-this` ([#​19498](eslint/eslint#19498)) (Josh Goldberg ✨) ##### Bug Fixes - [`0e20aa7`](eslint/eslint@0e20aa7) fix: move deprecated `RuleContext` methods to subtype ([#​19531](eslint/eslint#19531)) (Francesco Trotta) - [`cc3bd00`](eslint/eslint@cc3bd00) fix: reporting variable used in catch block in `no-useless-assignment` ([#​19423](eslint/eslint#19423)) (Tanuj Kanti) - [`d46ff83`](eslint/eslint@d46ff83) fix: `no-dupe-keys` false positive with proto setter ([#​19508](eslint/eslint#19508)) (Milos Djermanovic) - [`e732773`](eslint/eslint@e732773) fix: navigation of search results on pressing Enter ([#​19502](eslint/eslint#19502)) (Tanuj Kanti) - [`f4e9c5f`](eslint/eslint@f4e9c5f...
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.
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[x] Add something to the core
[ ] Other, please explain:
Fixes #17609.
What changes did you make? (Give an overview)
Updated
Linter#verifyAndFix()to check if the produced fix in a pass is the same as in the second previous pass, and in that case stop and emit a warning about conflicting rules.Is there anything you'd like reviewers to focus on?