Move golangci-lint deadline to config file

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
Phil Estes 2019-09-19 09:10:56 -04:00
parent 6fafc8a724
commit 57b51b9481
No known key found for this signature in database
GPG Key ID: 0F386284C03A1162
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ linters:
- errcheck
run:
deadline: 2m
skip-dirs:
- api
- design

View File

@ -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