Skip to content

Is there a way to disable listing of deprecated linters in "Disabled by your configuration linters" using golangci-lint linters command? #1970

Closed Answered by ldez
frederikhors asked this question in Q&A
Discussion options

You must be logged in to vote

There is no filter on decreprated linters, then you have to disable them explicitly:

  • if you are using --disable-all, you just have to not enable them
  • if you are using --enable-all, you have to add them to --disable

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ldez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants