Skip to content
Discussion options

You must be logged in to vote

The checks option is processed by the analysis runner, i.e. the staticcheck executable. Gopls doesn't use that executable, however. Instead, it runs the individual analyzers directly, which don't themselves care about the checks setting.

You can configure the set of analyzes that gopls runs via its own analyses setting, for example:

"analyses": {
  "ST1003": false
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by metaleap
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