mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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
|
enable: # please keep this alphabetized
|
||||||
- deadcode
|
- deadcode
|
||||||
- ineffassign
|
- ineffassign
|
||||||
|
- staticcheck
|
||||||
- unused
|
- unused
|
||||||
- varcheck
|
- varcheck
|
||||||
linters-settings: # please keep this alphabetized
|
linters-settings: # please keep this alphabetized
|
||||||
|
staticcheck:
|
||||||
|
go: "1.17"
|
||||||
|
checks: [ "all" ]
|
||||||
unused:
|
unused:
|
||||||
go: "1.17"
|
go: "1.17"
|
||||||
|
Loading…
Reference in New Issue
Block a user