-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: [gocritic] support disabled-tags #1029
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
For example: using enabled-tags and disabled-tags would be more simplified than combination of enabled-tags and disable-checks with disabled-tags ...
enabled-tags:
- diagnostic
- style
disabled-tags:
- experimental
- opinionated
... with disabled-checks ...
enabled-tags:
- diagnostic
- style
disabled-checks:
- argOrder
- badCall
- badCond
- boolExprSimplify
- codegenComment
- commentedOutCode
- deprecatedComment
- exitAfterDefer
- ...
... |
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.
Thank you, LGTM.
Can you please apply gofmt
or goimports
?
d6932da
to
355a720
Compare
Hi, I've finished format and reduce it's only one commit because using cmd |
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
Thanks😀 |
I will check it manually once again and merge soon. |
Linter Gocritic:
Features:
using tag set-operation instead of disabled-checks inputs