Skip to content

Commit 05e5e2b

Browse files
committed
Remove direct call to gosec
golangci/golangci-lint#597 has been closed and golangci-lint has been using upstream gosec since golangci/golangci-lint#694
1 parent 906ee93 commit 05e5e2b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.golangci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ linters:
1717
- gofmt
1818
- goimports
1919
- golint
20-
#- gosec
20+
- gosec
2121
- govet
2222
- ineffassign
2323
#- interfacer
@@ -107,3 +107,8 @@ linters-settings:
107107
#- importShadow
108108
- paramTypeCombine
109109
#- unnamedResult
110+
gosec:
111+
severity: high
112+
confidence: medium
113+
excludes:
114+
- G204

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ install-tools:
6767
# make verify
6868
verify: install-tools
6969
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 ./...
7370
# Remove the vendor/k8s.io/code-generator vendor hack
7471
# once code-generator plays nice with go modules, see
7572
# https://github.com/kubernetes/kubernetes/issues/82531 and

0 commit comments

Comments
 (0)