minitor-go/.pre-commit-config.yaml
Ian Fijolek bc83a51907
All checks were successful
continuous-integration/drone/push Build is passing
Switch pre-commit url for golang
2022-04-04 20:12:01 -07:00

26 lines
627 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/golangci/golangci-lint
rev: v1.42.1
hooks:
- id: golangci-lint
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.4.0
hooks:
- id: go-fmt
- id: go-imports
- repo: https://github.com/hadolint/hadolint
rev: v2.4.0
hooks:
- id: hadolint