From 9b884acd7080f7e138b5a38390475f9c04031a59 Mon Sep 17 00:00:00 2001 From: Francesco Ilario Date: Thu, 28 Mar 2024 17:14:28 +0100 Subject: [PATCH] exclude gosec 601 as using go1.22 Signed-off-by: Francesco Ilario --- server/.golangci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/.golangci.yaml b/server/.golangci.yaml index 1c57b5be..bff706c0 100644 --- a/server/.golangci.yaml +++ b/server/.golangci.yaml @@ -30,6 +30,9 @@ linters-settings: gocritic: disabled-checks: - ifElseChain + gosec: + excludes: + - G601 # excluded as go 1.22 is used output: formats: