Skip to content

Commit 3e1b02b

Browse files
committed
golangci-lint: gosec: disable G115 (integer overflow check)
1 parent 331687a commit 3e1b02b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

+3
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)