mirror of https://github.com/golang/go.git
Upgrade staticcheck to v0.3.0 to pick up support for generics. Since this version only supports Go 1.17+, increase the version at which we install staticcheck to 1.17 (from 1.15). This change is likely to cause confusion for users on Go 1.16, so show a warning when setting the "staticcheck" option to an unsupported value. Slightly refactor our setting of options along the way. Fixes golang/go#52159 Change-Id: Id9b4cee340e31988c64ca712d98573343aaf5848 Reviewed-on: https://go-review.googlesource.com/c/tools/+/396974 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Trust: Peter Weinberger <pjw@google.com> Reviewed-by: Peter Weinberger <pjw@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||