Add indent-sequences: whatever to support more compact indent

This commit is contained in:
2026-02-19 12:21:00 +01:00
parent 3ca7b2390d
commit 2ef5945c9f

View File

@@ -14,6 +14,12 @@ rules:
# Not all files use --- document start marker # Not all files use --- document start marker
document-start: disable document-start: disable
# ESPHome uses both indented and non-indented sequences
indentation:
spaces: 2
indent-sequences: whatever
check-multi-line-strings: false
# Some files have trailing spaces; warn only # Some files have trailing spaces; warn only
trailing-spaces: enable trailing-spaces: enable