From c2ec6249ba752aa63210c8296daff7fca0dfeb67 Mon Sep 17 00:00:00 2001 From: theautomation Date: Sat, 30 Dec 2023 19:31:52 +0100 Subject: [PATCH] Add yamllint rules --- .yamllint | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .yamllint diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..46ac815 --- /dev/null +++ b/.yamllint @@ -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