delete hardcode go version in golangci-lint config

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
Abirdcfly 2022-08-07 11:43:07 +08:00
parent 985c9202cc
commit b7bcbf3619
No known key found for this signature in database
GPG Key ID: A4EA876831B0458B

View File

@ -34,7 +34,6 @@ linters-settings: # please keep this alphabetized
description: structured logging checker
original-url: k8s.io/klog/hack/tools
staticcheck:
go: "1.18"
checks: [
"all",
"-SA1019", # TODO(fix) Using a deprecated function, variable, constant or field
@ -44,5 +43,3 @@ linters-settings: # please keep this alphabetized
checks: [
"ST1019", # Importing the same package multiple times.
]
unused:
go: "1.18"