From fd8657a49546518e359e90041f72b3b23808e907 Mon Sep 17 00:00:00 2001 From: William Petit Date: Wed, 26 Sep 2018 16:02:43 +0200 Subject: [PATCH] Disable golang modules when executing linters --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fa928e2..b2899d7 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ test: tidy go test -mod=vendor -v ./... lint: - @golangci-lint run -e '.*/pkg/mod' -e ".*/go/src" --enable-all --disable lll $(LINT_ARGS) + @GO111MODULE=off golangci-lint run -e '.*/pkg/mod' -e ".*/go/src" --enable-all --disable lll $(LINT_ARGS) tidy: go mod tidy