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

Have regal lint fail when unknown category or rule is provided via --enable/--disable options #1214

Open
anderseknert opened this issue Oct 21, 2024 · 0 comments
Labels

Comments

@anderseknert
Copy link
Member

regal lint --disable-all --enable foo .

Should have regal fail loudly unless the foo rule was actually found. Currently it'll just report this as a success, which while technically true, is not likely to be what the user wanted. Note that we'll also need to take custom rules into account, so this is probably a check we'll have to do some time into initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant