From 2cdf0ca596200ed807fdf08de84711e37cb71f1b Mon Sep 17 00:00:00 2001 From: Alex Boten <223565+codeboten@users.noreply.github.com> Date: Tue, 3 Dec 2024 13:16:35 -0800 Subject: [PATCH] restrict linter config to config/*.go Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com> --- .golangci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 13e41d8d2a9..a1edee29a6c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -72,7 +72,8 @@ issues: - 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." + - path: config/*.go + text: "G402: TLS MinVersion too low." linters: - gosec include: