update golangci-lint
This commit is contained in:
+3
-2
@@ -1,11 +1,12 @@
|
||||
|
||||
linters:
|
||||
disable:
|
||||
- errcheck
|
||||
enable:
|
||||
- gofmt
|
||||
- golint
|
||||
- misspell
|
||||
- unconvert
|
||||
disable:
|
||||
- errcheck
|
||||
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||
BASE_IMAGE = golang:1.15-alpine3.12
|
||||
GO_LINT_IMAGE = golangci/golangci-lint:v1.33.0
|
||||
|
||||
.PHONY: $(shell ls)
|
||||
|
||||
@@ -56,7 +57,7 @@ test-nodocker:
|
||||
|
||||
lint:
|
||||
docker run --rm -v $(PWD):/app -w /app \
|
||||
golangci/golangci-lint:v1.33.0 \
|
||||
$(GO_LINT_IMAGE) \
|
||||
golangci-lint run -v
|
||||
|
||||
stress:
|
||||
|
||||
Reference in New Issue
Block a user