Skip to content

refactor: use CustomRuleDefinitionType in JSRuleDefinition #19949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2025

Conversation

fasttime
Copy link
Member

@fasttime fasttime commented Jul 17, 2025

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
[ ] Add something to the core
[X] Other, please explain:

Simplify type definitions.

Refs: eslint/rewrite#177

Related PRs: eslint/css#203, eslint/json#121, eslint/markdown#471

What changes did you make? (Give an overview)

This change should not have a visible impact on users.

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

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jul 17, 2025
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit b7c8e26
🔍 Latest deploy log https://app.netlify.com/projects/docs-eslint/deploys/687936a63d1c8d00088913f7

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, leaving it open for others to review.

@snitin315 snitin315 moved this from Needs Triage to Second Review Needed in Triage Jul 18, 2025
@snitin315 snitin315 added accepted There is consensus among the team that this change meets the criteria for inclusion types Related to TypeScript types labels Jul 18, 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!

@lumirlumir lumirlumir merged commit e22af8c into main Jul 18, 2025
30 checks passed
@lumirlumir lumirlumir deleted the use-custom-rule-definition-type branch July 18, 2025 06:00
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage Jul 18, 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 chore This change is not user-facing types Related to TypeScript types
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

3 participants