yamllint fixes
Validate Home Assistant Configuration / Validate Device IDs (push) Failing after 16s
Validate Home Assistant Configuration / YAML Lint (pull_request) Successful in 8s
Validate Home Assistant Configuration / Home Assistant Config Check (pull_request) Failing after 20s
Validate Home Assistant Configuration / Validate Entity IDs (pull_request) Failing after 18s
Validate Home Assistant Configuration / Validate Device IDs (pull_request) Failing after 16s
Validate Home Assistant Configuration / YAML Lint (push) Successful in 9s
Validate Home Assistant Configuration / Home Assistant Config Check (push) Failing after 20s
Validate Home Assistant Configuration / Validate Entity IDs (push) Failing after 17s

This commit is contained in:
Brian Bjarke Jensen
2026-02-02 21:35:48 +01:00
parent a2d61f4486
commit b2fb7ce91f
2 changed files with 27 additions and 4 deletions
+26 -2
View File
@@ -9,12 +9,22 @@ rules:
# Allow indentation to be flexible for Home Assistant configs
indentation:
spaces: 2
indent-sequences: true
spaces: consistent
indent-sequences: whatever
check-multi-line-strings: false
# Allow comments at various positions
comments:
min-spaces-from-content: 1
level: warning
# Allow comment indentation flexibility
comments-indentation: disable
# Allow empty lines
empty-lines:
max: 2
level: warning
# Allow empty values (common in HA configs)
empty-values:
@@ -28,6 +38,7 @@ rules:
# Relax truthy checks for on/off (common in HA)
truthy:
allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
check-keys: false
# Allow both flow and block styles
braces:
@@ -42,6 +53,19 @@ rules:
quoted-strings:
quote-type: any
required: false
# Disable document start requirement (HA doesn't use ---)
document-start: disable
# Allow trailing spaces (HA auto-formats may add them)
trailing-spaces: disable
# Allow new line at end of file to be missing
new-line-at-end-of-file: disable
# Relax new lines rules
new-lines:
type: unix
ignore: |
.venv/