Update golangci-lint from 1.46.2 to 1.49.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
This commit is contained in:
parent
75a0305a8c
commit
a52ae325f9
|
@ -32,15 +32,12 @@ linters:
|
|||
- goimports
|
||||
- govet
|
||||
# linters default enabled by golangci-lint .
|
||||
- deadcode
|
||||
- errcheck
|
||||
- gosimple
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- typecheck
|
||||
- unused
|
||||
- varcheck
|
||||
# other linters supported by golangci-lint.
|
||||
- gci
|
||||
- gocyclo
|
||||
|
|
|
@ -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.46.2"
|
||||
GOLANGCI_LINT_VER="v1.49.0"
|
||||
|
||||
cd "${REPO_ROOT}"
|
||||
source "hack/util.sh"
|
||||
|
|
Loading…
Reference in New Issue