Move golangci-lint deadline to config file
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
parent
6fafc8a724
commit
57b51b9481
@ -15,6 +15,7 @@ linters:
|
|||||||
- errcheck
|
- errcheck
|
||||||
|
|
||||||
run:
|
run:
|
||||||
|
deadline: 2m
|
||||||
skip-dirs:
|
skip-dirs:
|
||||||
- api
|
- api
|
||||||
- design
|
- design
|
||||||
|
2
Makefile
2
Makefile
@ -121,7 +121,7 @@ all: binaries
|
|||||||
|
|
||||||
check: proto-fmt ## run all linters
|
check: proto-fmt ## run all linters
|
||||||
@echo "$(WHALE) $@"
|
@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
|
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user