From 0da474af3f57e7d3d5f741746066565076448ab2 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Thu, 22 Aug 2024 17:50:48 +0200 Subject: [PATCH] gosec: add G115 to default exclusions --- pkg/config/issues.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/config/issues.go b/pkg/config/issues.go index 2ee9364aaa91..97e39d9831e0 100644 --- a/pkg/config/issues.go +++ b/pkg/config/issues.go @@ -101,6 +101,12 @@ var DefaultExcludePatterns = []ExcludePattern{ Linter: "revive", Why: "Annoying issue about not having a comment. The rare codebase has such comments.", }, + { + ID: "EXC0016", + Pattern: `G115: integer overflow conversion`, // rule: package-comments + Linter: "gosec", + Why: "Too many false positives.", + }, } type Issues struct {