From 57b51b94815aa2e592264eb69c2f98e3a6616adc Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Thu, 19 Sep 2019 09:10:56 -0400 Subject: [PATCH] Move golangci-lint deadline to config file Signed-off-by: Phil Estes --- .golangci.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index d9ea43977..940e3a195 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,6 +15,7 @@ linters: - errcheck run: + deadline: 2m skip-dirs: - api - design diff --git a/Makefile b/Makefile index 2d0a966c5..675816189 100644 --- a/Makefile +++ b/Makefile @@ -121,7 +121,7 @@ all: binaries check: proto-fmt ## run all linters @echo "$(WHALE) $@" - GOGC=75 golangci-lint run --deadline 2m + GOGC=75 golangci-lint run ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI