restic-scheduler/.pre-commit-config.yaml
Ian Fijolek e62c83eed8
All checks were successful
continuous-integration/drone/push Build is passing
Increase golangci-lint timeout
2022-11-10 13:24:48 -08:00

22 lines
513 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-yaml
args:
- --allow-multiple-documents
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.4.0
hooks:
- id: go-fmt
- id: go-imports
- id: golangci-lint
args:
- --timeout=3m
- --verbose