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

Add ability to enable/disable checks #41

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Conversation

dosisod
Copy link
Owner

@dosisod dosisod commented Oct 4, 2022

There is now a new "enabled" flag which can be used to skip the loading of a check unless the user explictly opts into the check. By default, all checks are enabled unless the author disables them.

I only added --enable, since adding --disable will require some additional logic for parsing. Either way, --ignore does almost the same thing, but --disable would prevent the check from even being loaded, whereas --ignore only suppresses an error.

There is now a new "enabled" flag which can be used to skip the loading of a
check unless the user explictly opts into the check. By default, all checks
are enabled unless the author disables them.

I only added --enable, since adding --disable will require some additional
logic for parsing. Either way, --ignore does almost the same thing, but --disable
would prevent the check from even being loaded, whereas --ignore only suppresses
an error.
@dosisod dosisod self-assigned this Oct 4, 2022
@dosisod dosisod merged commit 1ede2fe into master Oct 4, 2022
@dosisod dosisod deleted the disable-enable-checks branch October 4, 2022 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant