Skip to content

Commit 037f68d

Browse files
committed
golangci-lint: gosec: disable G115 (integer overflow check)
1 parent 525a63d commit 037f68d

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
@@ -36,3 +36,6 @@ linters-settings:
3636
gocritic:
3737
disabled-checks:
3838
- ifElseChain # false positives (some if-else chains with "short ifs" look more cumbersome rewritten)
39+
gosec:
40+
excludes:
41+
- G115 # https://dev.to/ccoveille/about-the-gosec-g115-drama-or-how-i-faced-back-integer-conversion-overflow-in-go-1302

0 commit comments

Comments
 (0)