diff --git a/.golangci.yml b/.golangci.yml index c0df40161..c3cbae0dc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -16,4 +16,4 @@ issues: linters-settings: errcheck: - exclude: ./errcheck_excludes.txt + exclude-functions: ./errcheck_excludes.txt diff --git a/Makefile b/Makefile index 4dc679ce3..e40dad505 100644 --- a/Makefile +++ b/Makefile @@ -492,7 +492,7 @@ golangci-lint: install-golangci-lint golangci-lint run install-golangci-lint: - which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.57.1 + which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.59.1 govulncheck: install-govulncheck govulncheck ./...