Makefile: disable structcheck in golangci-lint, since it gives false positive on embedded structs

This commit is contained in:
Aliaksandr Valialkin 2019-10-17 19:59:10 +03:00
parent 97ce4e03a5
commit f708aa7003

View file

@ -92,7 +92,7 @@ install-qtc:
golangci-lint: install-golangci-lint
golangci-lint run --exclude '(SA4003|SA1019):' -D errcheck
golangci-lint run --exclude '(SA4003|SA1019):' -D errcheck -D structcheck
install-golangci-lint:
which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint