x/tools/gopls: document how to enable non-default staticcheck checks #66936
Labels
Documentation
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Staticcheck checks can be configured with gopls's
analyses
settings, but this is not obvious from the current analyzer doc (https://github.com/golang/tools/blob/master/gopls/doc/analyzers.md). Settings doc has a link to the Staticcheck's official doc page (https://github.com/golang/tools/blob/master/gopls/doc/settings.md#staticcheck-bool), but how to enable/disable checks is not obvious.The text was updated successfully, but these errors were encountered: