Bump golangci-lint version to v1.42.1

Signed-off-by: iawia002 <z2d@jifangcheng.com>
This commit is contained in:
iawia002 2021-10-12 17:46:28 +08:00
parent c4e22717df
commit 8bc3fe0c0f
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,6 @@ linters:
# linters maintained by golang.org
- gofmt
- goimports
- golint
- govet
# linters default enabled by golangci-lint .
- deadcode
@ -45,6 +44,7 @@ linters:
- gocyclo
- gosec
- whitespace
- revive
linters-settings:
goimports:

View File

@ -6,7 +6,7 @@ set -o pipefail
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
GOLANGCI_LINT_PKG="github.com/golangci/golangci-lint/cmd/golangci-lint"
GOLANGCI_LINT_VER="v1.32.2"
GOLANGCI_LINT_VER="v1.42.1"
cd "${REPO_ROOT}"
source "hack/util.sh"