From b75f88899593fcba96523dffe2870b19a4edd323 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Tue, 23 Apr 2024 00:02:05 +0800 Subject: [PATCH] revert some changes --- build/.golangci.yml | 2 +- build/lint.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/.golangci.yml b/build/.golangci.yml index b55c4bfce5..b6d55caea8 100644 --- a/build/.golangci.yml +++ b/build/.golangci.yml @@ -180,6 +180,7 @@ linters: - bodyclose - goprintffuncname - golint + - depguard - gocyclo - unparam - exportloopref @@ -191,7 +192,6 @@ linters: - unused enable-all: false disable: - - depguard disable-all: false presets: diff --git a/build/lint.go b/build/lint.go index dde96d3dec..5d241de0cb 100644 --- a/build/lint.go +++ b/build/lint.go @@ -15,7 +15,7 @@ import ( const ( // GolangCIVersion to be used for linting. - GolangCIVersion = "github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.2" + GolangCIVersion = "github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2" ) // GOBIN environment variable.