Skip to content

Commit f9b0ec0

Browse files
committed
Ignore G115 gosec warning
Ignores gosec warning about int overflows.
1 parent 9848214 commit f9b0ec0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ linters-settings:
1717
# Minimal code complexity to report.
1818
# https://github.com/fzipp/gocyclo#readme
1919
min-complexity: 28
20+
gosec:
21+
excludes:
22+
- G115
2023
issues:
2124
# Disable max issues per linter.
2225
max-issues-per-linter: 0

0 commit comments

Comments
 (0)