Skip to content

Commit

Permalink
Update .golangci.yaml to ignore G115 bound checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmoore4 committed Aug 23, 2024
1 parent ad27518 commit 088a5b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ linters-settings:
desc: >
Use the "io" and "os" packages instead.
See https://go.dev/doc/go1.16#ioutil
gosec:
excludes:
# Flags for potentially-unsafe casting of ints, similar problem to globally-disabled G103
- G115

not-tests:
files: ['!$test']
Expand Down

0 comments on commit 088a5b2

Please sign in to comment.