Skip to content

Commit

Permalink
Disable lint rule that generates false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Sep 1, 2024
1 parent b4124b7 commit 1ac505f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ output:

# All available settings of specific linters.
linters-settings:
gosec:
excludes:
# Flags for potentially-unsafe casting of ints, but generates a lot of false positives.
- 'G115'

lll:
line-length: 132

Expand Down Expand Up @@ -135,6 +140,7 @@ linters:
- execinquery
- exhaustive
- exhaustruct
- exportloopref
- forbidigo
- forcetypeassert
- funlen
Expand Down

0 comments on commit 1ac505f

Please sign in to comment.