-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area: nolintRelated to nolint directive and nolintlintRelated to nolint directive and nolintlintwon't fixThis will not be worked onThis will not be worked on
Description
Welcome
- Yes, I've searched similar issues on GitHub and didn't find any.
- I agree to follow this project's Code of Conduct
Your feature request related to a problem? Please describe
I spent twenty minutes today trying to figure out why //nolint:typecheck was being ignored in my project. I was about to report an issue for //nolint:typecheck being ignored, when I read the FAQ and saw that this was the intended behavior.
I wish I hadn't wasted twenty minutes figuring out what was wrong.
Describe the solution you'd like
When encountering a //nolint:typecheck golangci-lint should emit a warning saying this directive will be ignored and link to the FAQ.
Describe alternatives you've considered
We could also emit an error when using //nolint:typecheck, but that sounds too extreme
Additional context
No response
Supporter
- I am a sponsor through GitHub or OpenCollective
strager
Metadata
Metadata
Assignees
Labels
area: nolintRelated to nolint directive and nolintlintRelated to nolint directive and nolintlintwon't fixThis will not be worked onThis will not be worked on