mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
delete hardcode go version in golangci-lint config
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
parent
985c9202cc
commit
b7bcbf3619
@ -34,7 +34,6 @@ linters-settings: # please keep this alphabetized
|
|||||||
description: structured logging checker
|
description: structured logging checker
|
||||||
original-url: k8s.io/klog/hack/tools
|
original-url: k8s.io/klog/hack/tools
|
||||||
staticcheck:
|
staticcheck:
|
||||||
go: "1.18"
|
|
||||||
checks: [
|
checks: [
|
||||||
"all",
|
"all",
|
||||||
"-SA1019", # TODO(fix) Using a deprecated function, variable, constant or field
|
"-SA1019", # TODO(fix) Using a deprecated function, variable, constant or field
|
||||||
@ -44,5 +43,3 @@ linters-settings: # please keep this alphabetized
|
|||||||
checks: [
|
checks: [
|
||||||
"ST1019", # Importing the same package multiple times.
|
"ST1019", # Importing the same package multiple times.
|
||||||
]
|
]
|
||||||
unused:
|
|
||||||
go: "1.18"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user