Skip to content

Commit b700b34

Browse files
authored
[chore] exclude certain gosec linters (#33192)
This is causing performance issue w/ the linters as discussed in golangci/golangci-lint#4735 Signed-off-by: Alex Boten <[email protected]>
1 parent 3a2b7c4 commit b700b34

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.golangci.yml

+7
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ linters-settings:
132132
predeclared:
133133
ignore: copy
134134

135+
gosec:
136+
excludes:
137+
# https://github.com/golangci/golangci-lint/issues/4735
138+
- G601
139+
# https://github.com/golangci/golangci-lint/issues/4735
140+
- G113
141+
135142
linters:
136143
enable:
137144
- decorder

0 commit comments

Comments
 (0)