Bump golangci-lint version to v1.42.1
Signed-off-by: iawia002 <z2d@jifangcheng.com>
This commit is contained in:
parent
c4e22717df
commit
8bc3fe0c0f
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue