Add yamllint to pre-commit

Adding a hook to pre-commit to enforce a consistent style and remove the
hook check-yaml which only checks if a document is parsable and so
become redundant.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2024-09-05 09:46:13 +02:00
committed by Dunedan
parent 87f667732c
commit 966d859050
2 changed files with 15 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
---
# https://yamllint.readthedocs.io/en/stable/index.html
extends: default
rules:
line-length:
max: 100
truthy:
check-keys: false