Skip to content

Commit

Permalink
golangci-lint: exclude G601 from gosec
Browse files Browse the repository at this point in the history
The idea is to not get false positive.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed Jun 18, 2024
1 parent e3f05b2 commit defcd64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Documentation: https://golangci-lint.run/usage/configuration/

linters-settings:
gosec:
excludes:
- G601
exclude-generated: true
errcheck:
exclude-functions:
- (*github.com/tektoncd/pipeline/vendor/go.uber.org/zap.SugaredLogger).Sync
Expand Down

0 comments on commit defcd64

Please sign in to comment.