From c10078236a374f8b18bfb615aa7160528a02132b Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Wed, 27 Nov 2024 14:30:20 -0800 Subject: [PATCH] add ignore to G402 as per the otel-go repo Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> --- .golangci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index a86971538da..13e41d8d2a9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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