Skip to content
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

fix: Update RuleVisitor type #135

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

fix: Update RuleVisitor type #135

wants to merge 6 commits into from

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Nov 25, 2024

Prerequisites checklist

What is the purpose of this pull request?

Make RuleVisitor type work practically with subinterfaces.

What changes did you make? (Give an overview)

  • Converted RuleVisitor interface into a mapped type.

Related Issues

fixes #134

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

The typescript-eslint rule recommended using a record instead of an object type. Does that make sense?

@eslint-github-bot eslint-github-bot bot added the bug Something isn't working label Nov 25, 2024
Co-authored-by: Francesco Trotta <[email protected]>
Co-authored-by: Francesco Trotta <[email protected]>
@fasttime
Copy link
Member

Oh, now Prettier 3.4 is complaining because of the formatting of Markdown files. It's the same problem as with eslint/json#67.

image

@nzakas
Copy link
Member Author

nzakas commented Nov 27, 2024

I guess their semver policy isn't a strict as ours. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working
Projects
Status: Implementing
Development

Successfully merging this pull request may close these issues.

Change Request: Update RuleVisitor interface
2 participants