Skip to content

Commit d4802a6

Browse files
authored
Merge pull request #3665 from estesp/golangcideadline
Move golangci-lint deadline to config file
2 parents 6fafc8a + 57b51b9 commit d4802a6

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)