diff --git a/.golangci.yml b/.golangci.yml index 87db745e4..8cd9e6f40 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -37,6 +37,9 @@ issues: - "string .* has .* occurrences, make it a constant" - "a blank import should be only in a main or test package, or have a comment justifying it" - "package comment should be of the form" + - "Potential hardcoded credentials" + - "Use of weak random number generator" + - "xerrors.* is deprecated" exclude-use-default: false exclude-rules: @@ -51,7 +54,7 @@ issues: - path: build/params_.*\.go linters: - golint - + - path: api/apistruct/struct.go linters: - golint