-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat(lint): fail on configured diagnostic level #11445
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense, left couple of minor nits
|
@0xrusowsky should we also add tests for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, pending others review / solar bump and update
|
we also have --deny-warnings, do we also integrate this? |
sure. should it fail with |
|
warnings. could we also rename to keep it consistent? --deny warnings/notes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, minor adjustments, pending solar release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
smol nits otherwise lgtm
Motivation
ref:
Solution
denyconfig flagLintertrait so thatfn lint()returns an error based on thedenyflag and the emitted diagnostics.PR Checklist
--deny-warningsflag in favor of a new--denyflag that takes theDenyLevel.TODO:
--deny-warningsdeprecation