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 2649091 commit bed273c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ linters-settings:
k8s.io/kubernetes is for managing dependencies of the Kubernetes
project, i.e. building kubelet and kubeadm.
gosec:
excludes:
# Flags for potentially-unsafe casting of ints, similar problem to globally-disabled G103
- G115

importas:
alias:
- pkg: k8s.io/api/(\w+)/(v[\w\w]+)
Expand Down

0 comments on commit bed273c

Please sign in to comment.