Update linter

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2020-11-03 20:47:43 +01:00
parent 3841f05ba4
commit cafea292ca
No known key found for this signature in database
GPG key ID: 34CC109EB5ED1C2A
2 changed files with 5 additions and 1 deletions

View file

@ -34,6 +34,7 @@ linters:
- staticcheck
- structcheck
- stylecheck
- tparallel
- typecheck
- unconvert
- unused
@ -41,8 +42,10 @@ linters:
- whitespace
# TODO: fix linter errors before enabling
# - exhaustivestruct
# - gci
# - gochecknoglobals
# - errorlint
# - gocognit
# - godot
# - gofumpt
@ -50,6 +53,7 @@ linters:
# - noctx
# - prealloc
# - sqlclosecheck
# - wrapcheck
# TODO: fix linter errors before enabling (from original config)
# - dupl

View file

@ -18,7 +18,7 @@ export GOBIN=$(PWD)/bin
LD_FLAGS="-w -X $(REPO_PATH)/version.Version=$(VERSION)"
# Dependency versions
GOLANGCI_VERSION = 1.31.0
GOLANGCI_VERSION = 1.32.2
build: bin/dex