Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: document how to enable non-default staticcheck checks #66936

Open
hyangah opened this issue Apr 19, 2024 · 0 comments
Open

x/tools/gopls: document how to enable non-default staticcheck checks #66936

hyangah opened this issue Apr 19, 2024 · 0 comments
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

Comments

@hyangah
Copy link
Contributor

hyangah commented Apr 19, 2024

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.

@hyangah hyangah added Documentation gopls Issues related to the Go language server, gopls. labels Apr 19, 2024
@hyangah hyangah added this to the gopls/backlog milestone Apr 19, 2024
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants