Merge pull request #2591 from RainbowMango/pr_update_golangcilint

Update golangci-lint from 1.46.2 to 1.49.0
This commit is contained in:
karmada-bot 2022-10-08 09:46:04 +08:00 committed by GitHub
commit e693dfe4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -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

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.46.2"
GOLANGCI_LINT_VER="v1.49.0"
cd "${REPO_ROOT}"
source "hack/util.sh"