Browse Source

Build: Disables gosec until identified performance problems (#16764)

Carl Bergquist 6 years ago
parent
commit
8ca5add4ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/backend-lint.sh

+ 2 - 2
scripts/backend-lint.sh

@@ -15,7 +15,7 @@ go get -u github.com/alecthomas/gometalinter
 go get -u github.com/jgautheron/goconst/cmd/goconst
 go get -u github.com/jgautheron/goconst/cmd/goconst
 go get -u honnef.co/go/tools/cmd/staticcheck
 go get -u honnef.co/go/tools/cmd/staticcheck
 go get -u github.com/mgechev/revive
 go get -u github.com/mgechev/revive
-go get -u github.com/securego/gosec/cmd/gosec/...
+#go get -u github.com/securego/gosec/cmd/gosec/...
 go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
 go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
 
 
 # use gometalinter when lints are not available in golangci or
 # use gometalinter when lints are not available in golangci or
@@ -39,4 +39,4 @@ exit_if_fail go vet ./pkg/...
 exit_if_fail revive -formatter stylish -config ./scripts/revive.toml
 exit_if_fail revive -formatter stylish -config ./scripts/revive.toml
 
 
 # TODO recheck the rules and leave only necessary exclusions
 # TODO recheck the rules and leave only necessary exclusions
-exit_if_fail gosec -quiet -exclude=G104,G107,G201,G202,G204,G301,G302,G304,G402,G501,G505,G401 ./pkg/...
+#exit_if_fail gosec -quiet -exclude=G104,G107,G201,G202,G204,G301,G302,G304,G402,G501,G505,G401 ./pkg/...