From 25c72ebc9e49532bc9ef0459d29f56165b2c60cf Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 11 Oct 2019 10:51:57 -0400 Subject: [PATCH] Upgrade golangci-lint to v1.20.0 --- .golangci.yml | 5 ----- hack/get_lint_deps.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 7a044fc64..8431d9a58 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,8 +11,3 @@ linters-settings: # the regex is used to ignore names within pkg. (default "fmt:.*"). # see https://github.com/kisielk/errcheck#the-deprecated-method for details ignore: fmt:.*,github.com/go-kit/kit/log:.* - -issues: - exclude: - - "not declared by package utf8" - - "unicode/utf8/utf8.go" diff --git a/hack/get_lint_deps.sh b/hack/get_lint_deps.sh index 2909f0e37..be23d5908 100755 --- a/hack/get_lint_deps.sh +++ b/hack/get_lint_deps.sh @@ -3,5 +3,5 @@ set -v go get -u golang.org/x/tools/cmd/goimports go get -u golang.org/x/lint/golint -go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1 +go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.20.0 go get -u github.com/gordonklaus/ineffassign