Update linter
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
3841f05ba4
commit
cafea292ca
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue