Enable staticcheck (#17286)

enable golangci-lint staticcheck

enable staticcheck in golangci-lint

Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
MinerYang 2022-08-01 16:58:51 +08:00 committed by GitHub
parent 1dd2b0bc7c
commit 1296e7ebf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ linters:
- govet
# - noctx
# - rowserrcheck
# - staticcheck
- staticcheck
- structcheck
- stylecheck
# - unconvert