Integrate staticcheck as an extra command
pieterclaerhout opened this issue · 0 comments
pieterclaerhout commented
See: https://pkg.go.dev/honnef.co/go/tools/cmd/staticcheck?tab=doc
go get honnef.co/go/tools/cmd/staticcheck &> /dev/null
staticcheck -checks 'all,-ST1005,-ST1000' ./...
This allows us to do static analysis on the Go code.