mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Add staticcheck to .golangci.yaml
TODO: port options from verify-staticcheck.sh and delete it
This commit is contained in:
parent
3bca4e6d67
commit
e986d72575
@ -11,8 +11,12 @@ linters:
|
||||
enable: # please keep this alphabetized
|
||||
- deadcode
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- unused
|
||||
- varcheck
|
||||
linters-settings: # please keep this alphabetized
|
||||
staticcheck:
|
||||
go: "1.17"
|
||||
checks: [ "all" ]
|
||||
unused:
|
||||
go: "1.17"
|
||||
|
Loading…
Reference in New Issue
Block a user