Files
LearningCircuit 6812bb695b chore(hooks): add yamllint for YAML style enforcement (#3233)
Add yamllint pre-commit hook to enforce consistent YAML formatting
across workflow files, docker-compose configs, and pre-commit config.
The .yamllint.yaml config is tuned to pass cleanly on the current
codebase while still catching genuine formatting issues.
2026-03-28 01:04:58 +01:00

29 lines
584 B
YAML

---
extends: default
rules:
line-length:
max: 400
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
truthy:
allowed-values: ['true', 'false', 'on', 'off']
check-keys: false
comments:
require-starting-space: true
ignore-shebangs: true
min-spaces-from-content: 1
comments-indentation: disable
document-start: disable
indentation:
spaces: consistent
indent-sequences: whatever
empty-lines:
max: 2
hyphens:
max-spaces-after: 3
brackets:
max-spaces-inside: 1
braces:
max-spaces-inside: 1