Skip to content

Commit

Permalink
[chore] exclude certain gosec linters (#33192)
Browse files Browse the repository at this point in the history
This is causing performance issue w/ the linters as discussed in
golangci/golangci-lint#4735

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
codeboten authored May 22, 2024
1 parent 3a2b7c4 commit b700b34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ linters-settings:
predeclared:
ignore: copy

gosec:
excludes:
# https://github.com/golangci/golangci-lint/issues/4735
- G601
# https://github.com/golangci/golangci-lint/issues/4735
- G113

linters:
enable:
- decorder
Expand Down

0 comments on commit b700b34

Please sign in to comment.