Makefile: enable golangci-lint in make check_all

This commit is contained in:
Aliaksandr Valialkin 2019-06-20 14:52:48 +03:00
parent 80db24386e
commit b75630fcf4

View file

@ -50,7 +50,7 @@ errcheck: install-errcheck
install-errcheck:
which errcheck || GO111MODULE=off go get -u github.com/kisielk/errcheck
check_all: fmt vet lint errcheck
check_all: fmt vet lint errcheck golangci-lint
test:
GO111MODULE=on go test -mod=vendor ./lib/...
@ -77,7 +77,7 @@ install-qtc:
golangci-lint: install-golangci-lint
golangci-lint run
golangci-lint run --exclude '(SA4003|SA1019):' -D errcheck
install-golangci-lint:
which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint