How to enable a check for staticcheck? #1493
-
I want to enable ST1020, what should I do? |
Beta Was this translation helpful? Give feedback.
Answered by
stamblerre
May 10, 2021
Replies: 1 comment 1 reply
-
Are you using "gopls": {
"analyses": {
"ST1020": true,
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you using
staticcheck
through thegopls
configuration? If so, you can add the following to your settings: