From f708aa70035c883948320df48a54aa156df6fde2 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 17 Oct 2019 19:59:10 +0300 Subject: [PATCH] Makefile: disable `structcheck` in `golangci-lint`, since it gives false positive on embedded structs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01f450b98..5434ad04d 100644 --- a/Makefile +++ b/Makefile @@ -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