pre-commit: add hook to validate config

This commit is contained in:
leo 2023-02-25 19:13:31 +01:00
parent ece4d1335c
commit fd98b38fe1
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -8,6 +8,14 @@ repos:
- repo: meta - repo: meta
hooks: hooks:
- id: check-hooks-apply - 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 - repo: https://github.com/TekWizely/pre-commit-golang
rev: v1.0.0-rc.1 rev: v1.0.0-rc.1
hooks: hooks: