ci: add prek/pre-commit hooks (prettier, markdownlint, editorconfig, yamllint, air)

This commit is contained in:
Patrick Schratz 2026-06-13 21:14:36 +02:00
commit 4d10f400a6
Signed by: pat-s
GPG key ID: 3C6318841EF78925

19
.yamllint.yaml Normal file
View file

@ -0,0 +1,19 @@
rules:
comments:
require-starting-space: false
ignore-shebangs: true
min-spaces-from-content: 1
braces:
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0
min-spaces-inside: 0
max-spaces-inside: 1
document-start:
present: false
indentation:
spaces: 2
indent-sequences: true
# .crow/* workflows embed long single-line R commands (>1k chars)
line-length: disable
new-lines:
type: unix