diff --git a/.golangci.yml b/.golangci.yml index 20dc0205..c0d9b83a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,7 +3,7 @@ run: deadline: 10m linters: enable: - - vet + - govet - gofmt - misspell - goconst diff --git a/crypto/elliptic/secp256k1.go b/crypto/elliptic/secp256k1.go index 28181f67..3cbb7138 100644 --- a/crypto/elliptic/secp256k1.go +++ b/crypto/elliptic/secp256k1.go @@ -26,4 +26,4 @@ var ( func Secp256k1() *ellipticCurve { return secp256k1Curve -} \ No newline at end of file +} diff --git a/tools/lint.mk b/tools/lint.mk index dd3ef643..56d341ed 100644 --- a/tools/lint.mk +++ b/tools/lint.mk @@ -4,9 +4,9 @@ GOLINT ?= $(GOTOOL_GOPATH)/bin/golangci-lint # lint $(GOLINT): - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOTOOL_GOPATH)/bin v1.54.1 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOTOOL_GOPATH)/bin v1.62.0 PHONY += lint lint: $(GOLINT) - $(GOLINT) run --deadline 5m + $(GOLINT) run --timeout 5m