Skip to content

Remove "All" check mode #88

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

Merged
merged 4 commits into from
Dec 3, 2020
Merged

Remove "All" check mode #88

merged 4 commits into from
Dec 3, 2020

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Dec 2, 2020

No description provided.

This mode was an initial unsuccessful attempt at achieving what was later done by the "Default" check mode.

The "All" check mode is no longer necessary. It can have a harmful effect when used in place of "Default" because it
makes the behavior of the check configuration dependent on the order the check configuration fields are processed in,
which is confusing and not guarantee to remain the same. The "Default" check mode is always overridden by an explicit
check mode match, so it's behavior is well defined and intuitive.
The enable/disable configuration of each check must be configured for every check mode.

The level configuration of each check must be configured for every check mode the check is enabled for.
The check was also misconfigured as a warning in check modes where it should be an error, which has been corrected as
well.
In addition to being pointless, having the same check mode in multiple companion configuration fields results in the
configuration behavior being dependent on which order the fields are processed in, which may change.
@per1234 per1234 merged commit 6caf4c6 into main Dec 3, 2020
@per1234 per1234 deleted the per1234/remove-all-check-mode branch December 3, 2020 17:19
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Sep 29, 2021
@per1234 per1234 self-assigned this Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants