Skip to content

Commit

Permalink
Merge pull request #806 from iawia002/lint
Browse files Browse the repository at this point in the history
Bump golangci-lint version to v1.42.1
  • Loading branch information
karmada-bot authored Oct 12, 2021
2 parents 5def820 + 8bc3fe0 commit f256403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ linters:
# linters maintained by golang.org
- gofmt
- goimports
- golint
- govet
# linters default enabled by golangci-lint .
- deadcode
Expand All @@ -45,6 +44,7 @@ linters:
- gocyclo
- gosec
- whitespace
- revive

linters-settings:
goimports:
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-staticcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f256403

Please sign in to comment.