Skip to content

Commit 37befd7

Browse files
committed
add ignore to G402 as per the otel-go repo
Signed-off-by: Alex Boten <[email protected]>
1 parent fc0bcd4 commit 37befd7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ issues:
7070
- gosec
7171
- perfsprint
7272
- usestdlibvars
73+
# Ignoring gosec G402: TLS MinVersion too low
74+
# as the https://pkg.go.dev/crypto/tls#Config handles MinVersion default well.
75+
- text: "G402: TLS MinVersion too low."
76+
linters:
77+
- gosec
7378
include:
7479
# revive exported should have comment or be unexported.
7580
- EXC0012

0 commit comments

Comments
 (0)