From 657c3e3fc5b114bade9a30f62a23cce3eb415c87 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 830e9515ae..c4cc4b13e6 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,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