mirror of
https://github.com/Jguer/yay
synced 2024-08-31 05:39:29 +00:00
23 lines
586 B
YAML
23 lines
586 B
YAML
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/v10/]
|
|
- id: golangci-lint
|
|
- id: go-unit-tests
|
|
- id: go-build
|
|
|
|
- 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
|