KEP-1933: add static analysis target to hack/

* Add static analysis to hack/verify-govet-levee.sh for defense against
accidental logging of credentials.
* Add binary dependency to hack/tools/tools.go and associated go.mod, go.sum.
* Add analysis configuration to hack/testdata/levee/
This commit is contained in:
Patrick Rhomberg
2020-09-09 17:32:03 +00:00
parent 1c403c311e
commit 90b85bf3fa
9 changed files with 582 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ package tools
import (
// linting tools
_ "github.com/client9/misspell/cmd/misspell"
_ "github.com/google/go-flow-levee/cmd/levee"
_ "golang.org/x/lint/golint"
_ "honnef.co/go/tools/cmd/staticcheck"