Add staticcheck to .golangci.yaml

TODO: port options from verify-staticcheck.sh and delete it
This commit is contained in:
Tim Hockin 2021-11-10 12:13:53 -08:00 committed by Antonio Ojea
parent 3bca4e6d67
commit e986d72575

View File

@ -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"