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

Closed
anderseknert opened this issue Oct 21, 2024 · 0 comments · Fixed by #1381
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.

charlieegan3 added a commit to charlieegan3/regal that referenced this issue Jan 30, 2025
charlieegan3 added a commit to charlieegan3/regal that referenced this issue Jan 30, 2025
charlieegan3 added a commit to charlieegan3/regal that referenced this issue Jan 30, 2025
charlieegan3 added a commit to charlieegan3/regal that referenced this issue Jan 30, 2025
charlieegan3 added a commit to charlieegan3/regal that referenced this issue Jan 30, 2025
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 a pull request may close this issue.

1 participant