mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 17:17:22 +01:00
3d5a43c294
bump major
32 lines
807 B
YAML
32 lines
807 B
YAML
default_stages: [commit]
|
|
|
|
repos:
|
|
- repo: https://github.com/dnephin/pre-commit-golang
|
|
rev: v0.5.1
|
|
hooks:
|
|
- id: go-fmt
|
|
- id: go-imports
|
|
args: [-local=github.com/Jguer/yay/v12/]
|
|
- id: golangci-lint
|
|
- id: go-unit-tests
|
|
- id: go-build
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v3.0.0-alpha.4 # Use the sha or tag you want to point at
|
|
hooks:
|
|
- id: prettier
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.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/commitizen-tools/commitizen
|
|
rev: v2.38.0
|
|
hooks:
|
|
- id: commitizen
|
|
stages: [commit-msg]
|