Skip to content

Enable all linters doesnt enable all linters? #2423

Closed Answered by natefinch
DGollings asked this question in Q&A
Discussion options

You must be logged in to vote

Try disabling exclude-use-default in your golangci-lint config. It hides a ton of common linting errors, including several from revive.

yaml:

issues:
   exclude-use-default: false

toml:

[issues]
    exclude-use-default = false

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DGollings
Comment options

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
Converted from issue

This discussion was converted from issue #2423 on December 20, 2021 13:01.