mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 07:14:10 +01:00
Add indent-sequences: whatever to support more compact indent
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user