Skip to content

Commit bed273c

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.golangci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ linters-settings:
5757
k8s.io/kubernetes is for managing dependencies of the Kubernetes
5858
project, i.e. building kubelet and kubeadm.
5959
60+
gosec:
61+
excludes:
62+
# Flags for potentially-unsafe casting of ints, similar problem to globally-disabled G103
63+
- G115
64+
6065
importas:
6166
alias:
6267
- pkg: k8s.io/api/(\w+)/(v[\w\w]+)

0 commit comments

Comments
 (0)