Add yamllint config

This commit is contained in:
theautomation 2024-01-03 19:39:36 +01:00
parent 3728984e9b
commit 18da689360

34
.yamllint Normal file
View file

@ -0,0 +1,34 @@
---
ignore: |
src/config/custom_components/
src/config/blueprints/
src/config/ip_bans.yaml
rules:
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start:
level: warning
empty-lines: enable
empty-values: disable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length:
level: warning
max: 88
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning