-
Notifications
You must be signed in to change notification settings - Fork 755
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
Linters: ability to configure the "default" level for new analyzers #10304
Comments
@anthony-c-martin Thanks for entering. I suggested exactly this here, and also in a community call, but saw very little interest. However, the main reason I haven't impemented the current proposal in #8013 is that I'm convinced we do need the capability to deal with this and also builds breaking caused by new rules. I'll spend some time soon getting a final proposal together. Would like to get this out of the way.
This was actually requested by BMoore and is tracked here: #5377, will add your comments there. |
Related to #4719 |
Problem Statement
If a new analyzer is added, it generally will be added with a level of "warning". Once the rule has been added, it's possible to upgrade the level to "error" with the following:
However, this is only possible to do after the rule has been added. There's no way possible to default all new linter rules to "error".
Suggestion
Something like the following would be nice, for users wanting to be ultra strict with their build process:
It may also be useful to have the ability to block certain rules from being overridden in-line:
The text was updated successfully, but these errors were encountered: