From efc8e3c52381c77f947b55f4e5da3d5a9906a487 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 7 May 2020 19:40:53 +0300 Subject: [PATCH] Makefile: suppress false positives for golangci-lint on nil pointer dereference --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 14c449156..e58f74136 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ install-qtc: golangci-lint: install-golangci-lint - golangci-lint run --exclude '(SA4003|SA1019):' -D errcheck -D structcheck --timeout 2m + golangci-lint run --exclude '(SA4003|SA1019|SA5011):' -D errcheck -D structcheck --timeout 2m install-golangci-lint: which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint