Skip to content

Commit 57b51b9

Browse files
committed
Move golangci-lint deadline to config file
Signed-off-by: Phil Estes <[email protected]>
1 parent 6fafc8a commit 57b51b9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ linters:
1515
- errcheck
1616

1717
run:
18+
deadline: 2m
1819
skip-dirs:
1920
- api
2021
- design

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ all: binaries
121121

122122
check: proto-fmt ## run all linters
123123
@echo "$(WHALE) $@"
124-
GOGC=75 golangci-lint run --deadline 2m
124+
GOGC=75 golangci-lint run
125125

126126
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI
127127

0 commit comments

Comments
 (0)