pre-commit: add hook to validate config
This commit is contained in:
parent
ece4d1335c
commit
fd98b38fe1
@ -8,6 +8,14 @@ repos:
|
||||
- repo: meta
|
||||
hooks:
|
||||
- id: check-hooks-apply
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pre-commit-validate-config
|
||||
name: pre-commit validate config
|
||||
entry: pre-commit validate-config
|
||||
pass_filenames: false
|
||||
files: '^.pre-commit-config.yaml$'
|
||||
language: system
|
||||
- repo: https://github.com/TekWizely/pre-commit-golang
|
||||
rev: v1.0.0-rc.1
|
||||
hooks:
|
||||
|
Loading…
Reference in New Issue
Block a user