From ea3455e0535a0d3420a1922e567c73fbff7412e6 Mon Sep 17 00:00:00 2001 From: max furman Date: Tue, 3 Oct 2023 12:54:27 -0700 Subject: [PATCH] Ignore slice access out of bounds warning while broken https://github.com/securego/gosec/issues/1005 --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index fd9c8c0..db187e9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -316,6 +316,7 @@ issues: - error strings should not be capitalized or end with punctuation or a newline - Function `URLParam->URLParam` should pass the context parameter - Function `URLParam` should pass the context parameter + - Potentially accessing slice out of bounds exclude-rules: - source: "^//\\s*go:generate\\s"