mirror of https://github.com/golang/go.git
Each analyzer in Staticcheck is annotated with the appropriate severity to use for its diagnostics. For example, most checks in SA* produce warnings, but some produce errors (e.g. when passing an invalid regular expression to regexp.Compile). This will be especially important for a follow-up CL that enables Staticcheck's new quickfix category, which contains optional refactorings that shouldn't be flagged as warnings. Change-Id: I6235303a3bb188ef79f52952c01e9585301a3270 Reviewed-on: https://go-review.googlesource.com/c/tools/+/322491 Trust: Dominik Honnef <dominik@honnef.co> Run-TryBot: Dominik Honnef <dominik@honnef.co> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||