commit | 799b6824f9e71770e719f77130115e8490b6427e | [log] [tgz] |
---|---|---|
author | Shoshin Nikita <shoshin_nikita@fastmail.com> | Thu Apr 15 16:12:10 2021 +0000 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Apr 15 21:16:26 2021 +0000 |
tree | 3a9c482f745932c38562637c68c4c2c2763c7b05 | |
parent | d1362d7aca54cd4181c1c6bf3f8e6e855bed960d [diff] |
gopls/internal/hooks: respect the default checks of the staticcheck tool Disable non-default checks by default. Also, update the regression test because the previous version used a non-default check (ST1022). Fixes golang/go#44712 Change-Id: I825cac8387b33307e529fc27ca2f54c2d0d50cc7 GitHub-Last-Rev: 3ad413a50d867fa266ccf7fd4b87a88888fbc0a7 GitHub-Pull-Request: golang/tools#303 Reviewed-on: https://go-review.googlesource.com/c/tools/+/310449 Trust: Rebecca Stambler <rstambler@golang.org> Trust: Peter Weinberger <pjw@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.