12345678910111213141516171819202122232425262728293031 |
- default_stages: [commit]
- repos:
- - repo: git://github.com/dnephin/pre-commit-golang
- rev: v0.3.5
- hooks:
- - id: go-fmt
- - id: go-imports
- args: [-local=github.com/Jguer/yay/v11/]
- - id: golangci-lint
- - id: go-unit-tests
- - id: go-build
- - repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.2.1 # Use the sha or tag you want to point at
- hooks:
- - id: prettier
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.4.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/Woile/commitizen
- rev: v2.17.6
- hooks:
- - id: commitizen
- stages: [commit-msg]
|