Skip to content

Commit

Permalink
add ignore to G402 as per the otel-go repo
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
codeboten authored and mattsains committed Dec 2, 2024
1 parent e388ed9 commit c100782
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
Expand Up @@ -70,6 +70,11 @@ issues:
- gosec
- perfsprint
- usestdlibvars
# Ignoring gosec G402: TLS MinVersion too low
# as the https://pkg.go.dev/crypto/tls#Config handles MinVersion default well.
- text: "G402: TLS MinVersion too low."
linters:
- gosec
include:
# revive exported should have comment or be unexported.
- EXC0012
Expand Down

0 comments on commit c100782

Please sign in to comment.