forked from mystiq/dex
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
|
- 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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue