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

test: Ensure all rules are exported #8

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

mdjermanovic
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request?

Ensures that all rules available in src/rules are exported in plugin.rules. Also adds a test for plugin configs that would fail if, for example, the config enables a non-existent rule.

What changes did you make? (Give an overview)

Added tests.

Related Issues

eslint/json#53

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

Copy link
Member

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

@nzakas nzakas merged commit 61ec7ae into main Nov 13, 2024
15 checks passed
@nzakas nzakas deleted the test-export-all-rules branch November 13, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants