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> |
||
|---|---|---|
| .. | ||
| analysis.go | ||
| analysis_117.go | ||
| diff.go | ||
| diff_test.go | ||
| gen-licenses.sh | ||
| hooks.go | ||
| licenses.go | ||
| licenses_test.go | ||