Skip to content

Conversation

@mdjermanovic
Copy link
Member

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?

@mdjermanovic mdjermanovic requested a review from a team as a code owner March 13, 2025 20:14
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Mar 13, 2025
@eslint-github-bot eslint-github-bot bot added the feature This change adds a new feature to ESLint label Mar 13, 2025
@github-actions github-actions bot added the core Relates to ESLint's core APIs and features label Mar 13, 2025
@netlify
Copy link

netlify bot commented Mar 13, 2025

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit cc9241c
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/67d83cfce4b4c50008434b1d
😎 Deploy Preview https://deploy-preview-19514--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nzakas nzakas moved this from Needs Triage to Implementing in Triage Mar 14, 2025
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@mdjermanovic
Copy link
Member Author

Added a troubleshooting page in e423966.

@mdjermanovic mdjermanovic added the accepted There is consensus among the team that this change meets the criteria for inclusion label Mar 17, 2025
nzakas
nzakas previously approved these changes Mar 17, 2025
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just cleaned up the docs a bit, but otherwise LGTM.

@nzakas nzakas merged commit 4a0df16 into main Mar 17, 2025
31 checks passed
@nzakas nzakas deleted the issue17609 branch March 17, 2025 16:00
@github-project-automation github-project-automation bot moved this from Implementing to Complete in Triage Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion core Relates to ESLint's core APIs and features feature This change adds a new feature to ESLint

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

Help us know when we have conflicting rules: 10 passes should throw an error

4 participants