Skip to content

Commit

Permalink
golangci-lint: gosec: disable G115 (integer overflow check)
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-fi committed Jan 9, 2025
1 parent 525a63d commit 037f68d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -36,3 +36,6 @@ linters-settings:
gocritic:
disabled-checks:
- ifElseChain # false positives (some if-else chains with "short ifs" look more cumbersome rewritten)
gosec:
excludes:
- G115 # https://dev.to/ccoveille/about-the-gosec-g115-drama-or-how-i-faced-back-integer-conversion-overflow-in-go-1302

0 comments on commit 037f68d

Please sign in to comment.