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

Merged
merged 6 commits into from
Nov 27, 2024
Merged

fix: Update RuleVisitor type #135

merged 6 commits into from
Nov 27, 2024

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 <github@fasttime.org>
Co-authored-by: Francesco Trotta <github@fasttime.org>
@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. 😄

Copy link
Member

@fasttime fasttime 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!

@fasttime fasttime merged commit 156d601 into main Nov 27, 2024
17 checks passed
@fasttime fasttime deleted the rule-visitor-update branch November 27, 2024 21:09
@github-actions github-actions bot mentioned this pull request Nov 27, 2024
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: Complete
Development

Successfully merging this pull request may close these issues.

Change Request: Update RuleVisitor interface
2 participants