mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:44:08 +00:00
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:
committed by
Dunedan
parent
87f667732c
commit
966d859050
@@ -0,0 +1,8 @@
|
||||
---
|
||||
# https://yamllint.readthedocs.io/en/stable/index.html
|
||||
extends: default
|
||||
rules:
|
||||
line-length:
|
||||
max: 100
|
||||
truthy:
|
||||
check-keys: false
|
||||
Reference in New Issue
Block a user