Skip to content

Commit

Permalink
Add yamllint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
x-real-ip committed Dec 30, 2023
1 parent 943834d commit c2ec624
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c2ec624

Please sign in to comment.