Skip to content

Conversation

@Tanujkanti4441
Copy link
Contributor

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)
[x] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

Updated the error location of require-yield and no-useless-constructor to make them less visually disruptive. Similar rule require-yield, require-await also highlight function head.

Is there anything you'd like reviewers to focus on?

Similar to #20258

@Tanujkanti4441 Tanujkanti4441 requested a review from a team as a code owner October 31, 2025 15:14
@eslint-github-bot eslint-github-bot bot added the feature This change adds a new feature to ESLint label Oct 31, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Oct 31, 2025
@netlify
Copy link

netlify bot commented Oct 31, 2025

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit d164a51
🔍 Latest deploy log https://app.netlify.com/projects/docs-eslint/deploys/6908bae8adb3a100084a6b34
😎 Deploy Preview https://deploy-preview-20267--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 project configuration.

@github-actions github-actions bot added the rule Relates to ESLint's core rules label Oct 31, 2025
@lumirlumir lumirlumir added the accepted There is consensus among the team that this change meets the criteria for inclusion label Nov 2, 2025
@lumirlumir lumirlumir moved this from Needs Triage to Triaging in Triage Nov 2, 2025
Copy link
Member

@lumirlumir lumirlumir left a comment

Choose a reason for hiding this comment

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

Personally, I like this change to make the rules less visually disruptive. 👍

I've left some comments throughout. If any of my suggestions are incorrect, please let me know!

@lumirlumir lumirlumir moved this from Triaging to Implementing in Triage Nov 2, 2025
Copy link
Member

@lumirlumir lumirlumir left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Would like another review before merging.

@lumirlumir lumirlumir moved this from Implementing to Second Review Needed in Triage Nov 4, 2025
Copy link
Contributor

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks you

@snitin315 snitin315 merged commit 09e6654 into eslint:main Nov 15, 2025
32 checks passed
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage Nov 15, 2025
@snitin315
Copy link
Contributor

The release monitor said no patch release is pending. But I see 10.0.0-alpha.0 was just released, so I hope it's okay that this PR was merged?

Screenshot 2025-11-15 at 10 28 17 AM

@mdjermanovic
Copy link
Member

The release monitor said no patch release is pending. But I see 10.0.0-alpha.0 was just released, so I hope it's okay that this PR was merged?

It's ok, we can merge new changes after prereleases.

@Tanujkanti4441 Tanujkanti4441 deleted the change-err-loc branch November 16, 2025 04:20
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 feature This change adds a new feature to ESLint rule Relates to ESLint's core rules

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

4 participants