yay/.pre-commit-config.yaml

30 lines
749 B
YAML
Raw Normal View History

repos:
- repo: git://github.com/dnephin/pre-commit-golang
2020-07-10 22:48:30 +00:00
rev: v0.3.5
hooks:
- id: go-fmt
- id: go-imports
args: [-local=github.com/Jguer/yay/v10/]
- id: golangci-lint
- id: go-unit-tests
- id: go-build
2020-07-10 22:48:30 +00:00
- repo: https://github.com/prettier/prettier
rev: 2.0.5 # Use the sha or tag you want to point at
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.1.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: check-json
- id: check-yaml
2020-07-24 21:45:56 +00:00
- id: check-added-large-files
- repo: https://github.com/Woile/commitizen
rev: v1.23.1
hooks:
- id: commitizen
stages: [commit-msg]