1234567891011121314151617181920212223242526272829 |
- default_stages: [commit]
- repos:
- - repo: https://github.com/dnephin/pre-commit-golang
- rev: v0.5.1
- hooks:
- - id: go-fmt
- - id: golangci-lint
- - id: go-unit-tests
- - id: go-build
- - repo: https://github.com/pre-commit/mirrors-prettier
- rev: v4.0.0-alpha.8 # Use the sha or tag you want to point at
- hooks:
- - id: prettier
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.5.0 # Use the ref you want to point at
- hooks:
- - id: trailing-whitespace
- - id: check-json
- - id: check-yaml
- - id: check-added-large-files
- - repo: https://github.com/commitizen-tools/commitizen
- rev: v3.15.0
- hooks:
- - id: commitizen
- stages: [commit-msg]
|