Skip to content

Commit

Permalink
add .yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Oct 22, 2019
1 parent 5e0e670 commit 68f942b
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
ignore: |
custom_components/
www/
rules:
braces:
level: error
min-spaces-inside: 0
max-spaces-inside: 1
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
brackets:
level: error
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
colons:
level: error
max-spaces-before: 0
max-spaces-after: 1
commas:
level: error
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments:
level: error
require-starting-space: true
min-spaces-from-content: 2
comments-indentation:
level: error
document-end:
level: error
present: false
document-start:
level: error
present: true
empty-lines:
level: error
max: 1
max-start: 0
max-end: 1
hyphens:
level: error
max-spaces-after: 1
indentation:
level: error
spaces: 2
indent-sequences: true
check-multi-line-strings: false
key-duplicates:
level: error
line-length:
ignore: |
themes.yaml
level: warning
max: 120
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
new-line-at-end-of-file:
level: error
new-lines:
level: error
type: unix
trailing-spaces:
level: error
truthy:
level: error
ignore: |
scenes.yaml

0 comments on commit 68f942b

Please sign in to comment.