Add yamllint config
This commit is contained in:
parent
3728984e9b
commit
18da689360
1 changed files with 34 additions and 0 deletions
34
.yamllint
Normal file
34
.yamllint
Normal 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
|
Loading…
Reference in a new issue