diff --git a/hooks/golang/golangci-lint-common.sh b/hooks/golang/golangci-lint-common.sh index c9353cd..2909217 100755 --- a/hooks/golang/golangci-lint-common.sh +++ b/hooks/golang/golangci-lint-common.sh @@ -14,6 +14,7 @@ lint_all() { --enable ineffassign \ --enable staticcheck \ --enable unused \ + --timeout 2m \ ./... return $? }