← Notes Bug report

staticcheck ignores its config under ~/.cache

.md

staticcheck skips every package whose path starts with the user cache directory, taking it for Go's build cache, and runs with the default checks. Reported with a script that plays every case; the suggestion is to compare against GOCACHE instead.

github.com/dominikh/go-tools/issues/1847 (opens in a new tab)

#staticcheck#go#upstream