Skip to content

Commit 088a5b2

Browse files
committed
Update .golangci.yaml to ignore G115 bound checks
- securego/gosec#1187
1 parent ad27518 commit 088a5b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ linters-settings:
2727
desc: >
2828
Use the "io" and "os" packages instead.
2929
See https://go.dev/doc/go1.16#ioutil
30+
gosec:
31+
excludes:
32+
# Flags for potentially-unsafe casting of ints, similar problem to globally-disabled G103
33+
- G115
3034

3135
not-tests:
3236
files: ['!$test']

0 commit comments

Comments
 (0)