Skip to content

Conversation

@Pixel998
Copy link
Contributor

Prerequisites checklist

What is the purpose of this pull request?

To align the codebase with the type changes introduced in @eslint/plugin-kit v0.6.0 by using the new canonical type exports and removing reliance on deprecated types from @eslint/core.

Note: This PR is marked as draft until @eslint/plugin-kit v0.6.0 is released.

What changes did you make? (Give an overview)

  • Updated type imports so CustomRuleTypeDefinitions and CustomRuleDefinitionType come from @eslint/plugin-kit instead of @eslint/core.
  • Refactored the JSONRuleVisitor type to use CustomRuleVisitorWithExit, which automatically generates :exit handlers for all visitor methods, eliminating the need to manually declare them.

Related Issues

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

@eslintbot eslintbot added this to Triage Jan 13, 2026
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jan 13, 2026
@Pixel998 Pixel998 self-assigned this Jan 13, 2026
@Pixel998 Pixel998 moved this from Needs Triage to Implementing in Triage Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Implementing

Development

Successfully merging this pull request may close these issues.

2 participants