ci(lint): enable nolintlint and remove redundant comments - #12926
Conversation
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
|
Can you explain a little bit more background why we want this linter and why the comments are redundant, please? |
|
@bboreham yeah.
When I enabled I fixed all these issues in this PR and removed 19 unnecessary code lines. |
jesusvazquez
left a comment
There was a problem hiding this comment.
This PR was reviewed during the Prometheus Bug Scrub event.
TIL about nolintlint and found it very cool 🎉
Thank you for the contribution.
|
Sorry I'm still missing why it is OK to delete the comments as you did. |
This PR enables
nolintlintlinter to check//nolintcomments. Also, removes redundant//nolint:directives.