2020-05-04 09:24:32 +02:00
|
|
|
repos:
|
|
|
|
- repo: git://github.com/dnephin/pre-commit-golang
|
2020-07-11 00:48:30 +02:00
|
|
|
rev: v0.3.5
|
2020-05-04 09:24:32 +02:00
|
|
|
hooks:
|
|
|
|
- id: go-fmt
|
|
|
|
- id: go-imports
|
2020-06-13 19:29:50 +02:00
|
|
|
args: [-local=github.com/Jguer/yay/v10/]
|
2020-05-04 09:24:32 +02:00
|
|
|
- id: golangci-lint
|
|
|
|
- id: go-unit-tests
|
|
|
|
- id: go-build
|
2020-07-11 00:48:30 +02: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
|
2020-08-21 02:48:17 +02:00
|
|
|
rev: v3.2.0 # Use the ref you want to point at
|
2020-07-11 00:48:30 +02:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
2020-07-24 23:45:56 +02:00
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
- repo: https://github.com/Woile/commitizen
|
2020-08-21 02:48:17 +02:00
|
|
|
rev: v2.1.0
|
2020-07-24 23:45:56 +02:00
|
|
|
hooks:
|
|
|
|
- id: commitizen
|
|
|
|
stages: [commit-msg]
|