File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ linters:
17
17
- gofmt
18
18
- goimports
19
19
- golint
20
- # - gosec
20
+ - gosec
21
21
- govet
22
22
- ineffassign
23
23
# - interfacer
@@ -107,3 +107,8 @@ linters-settings:
107
107
# - importShadow
108
108
- paramTypeCombine
109
109
# - unnamedResult
110
+ gosec :
111
+ severity : high
112
+ confidence : medium
113
+ excludes :
114
+ - G204
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ install-tools:
67
67
# make verify
68
68
verify : install-tools
69
69
golangci-lint run --build-tags=$(GOTAGS )
70
- # Remove once https://github.com/golangci/golangci-lint/issues/597 is
71
- # addressed
72
- gosec -severity high --confidence medium -exclude G204 -quiet ./...
73
70
# Remove the vendor/k8s.io/code-generator vendor hack
74
71
# once code-generator plays nice with go modules, see
75
72
# https://github.com/kubernetes/kubernetes/issues/82531 and
You can’t perform that action at this time.
0 commit comments