From e24e0dc9f5b574f2b648d0dbc9ea4927cc3d50ce Mon Sep 17 00:00:00 2001 From: Calle Pettersson Date: Fri, 5 Oct 2018 07:17:19 +0200 Subject: [PATCH] Lint-fix: Ignore goconst --- Makefile | 6 ------ gometalinter.config | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 86ad2bf2..ea2a4016 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,5 @@ export GOOS=windows -lint: - gometalinter --vendor --config gometalinter.config ./... - -test: - go test -v ./... - build: promu build -v diff --git a/gometalinter.config b/gometalinter.config index af60b94f..a5a5046a 100644 --- a/gometalinter.config +++ b/gometalinter.config @@ -2,7 +2,8 @@ "Disable": [ "gocyclo", "maligned", - "megacheck" + "megacheck", + "goconst" ], "Exclude": [ "don't use underscores in Go names",