Skip to content

Commit 0da474a

Browse files
committed
gosec: add G115 to default exclusions
1 parent 2f53f2c commit 0da474a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/config/issues.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ var DefaultExcludePatterns = []ExcludePattern{
101101
Linter: "revive",
102102
Why: "Annoying issue about not having a comment. The rare codebase has such comments.",
103103
},
104+
{
105+
ID: "EXC0016",
106+
Pattern: `G115: integer overflow conversion`, // rule: package-comments
107+
Linter: "gosec",
108+
Why: "Too many false positives.",
109+
},
104110
}
105111

106112
type Issues struct {

0 commit comments

Comments
 (0)