1
0
mirror of https://github.com/Jguer/yay synced 2024-07-08 04:16:16 +00:00
yay/.pre-commit-config.yaml

32 lines
786 B
YAML
Raw Normal View History

2021-03-11 08:36:42 +00:00
default_stages: [commit]
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
2021-09-08 20:28:08 +00:00
args: [-local=github.com/Jguer/yay/v11/]
- id: golangci-lint
- id: go-unit-tests
- id: go-build
2020-07-10 22:48:30 +00:00
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1 # Use the sha or tag you want to point at
2020-07-10 22:48:30 +00:00
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0 # Use the ref you want to point at
2020-07-10 22:48:30 +00:00
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
2021-05-07 22:31:19 +00:00
rev: v2.17.6
2020-07-24 21:45:56 +00:00
hooks:
- id: commitizen
stages: [commit-msg]