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

Implement rule-level warning_threshold #5469

Open
2 tasks done
kapitoshka438 opened this issue Feb 16, 2024 · 1 comment
Open
2 tasks done

Implement rule-level warning_threshold #5469

kapitoshka438 opened this issue Feb 16, 2024 · 1 comment

Comments

@kapitoshka438
Copy link

kapitoshka438 commented Feb 16, 2024

New Issue Checklist

It would be great to be able to override warning threshold for a specific rule. If threshold was specified for a rule, its violations would not be counted for the main threshold and throw an error only in terms of its own limit.

In our projects we set warning_threshold to 0 to prevent any violations of included rules. We also regularly include new rules and temporarily increase the warning_threshold to allow violations for the the rule we are working on until we completely fix it everywhere. But this allows violations of other rules to appear.

@SimplyDanny
Copy link
Collaborator

There has been some ongoing work in #3421 for support of a "baseline" functionality. Seems like a better and more flexible solution for your request than various configured thresholds. Unfortunately, there is no active work on this feature at the moment, but at least a lot of interest.

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

No branches or pull requests

2 participants