Merge pull request #806 from iawia002/lint

Bump golangci-lint version to v1.42.1
This commit is contained in:
karmada-bot 2021-10-12 18:12:54 +08:00 committed by GitHub
commit f256403608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"