mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-15 21:03:55 -07:00
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>
8 lines
143 B
YAML
8 lines
143 B
YAML
---
|
|
# https://yamllint.readthedocs.io/en/stable/index.html
|
|
extends: default
|
|
rules:
|
|
line-length:
|
|
max: 100
|
|
truthy:
|
|
check-keys: false
|