From b7bcbf36191c66deaa73a1d1114c47bf86c4ce0d Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Sun, 7 Aug 2022 11:43:07 +0800 Subject: [PATCH] delete hardcode go version in golangci-lint config Signed-off-by: Abirdcfly --- .golangci.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index e6a6ff9e17b..56a96ef552f 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -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"