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

View File

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