summaryrefslogtreecommitdiffstats
path: root/.yamllint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.yamllint.yml')
-rw-r--r--.yamllint.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.yamllint.yml b/.yamllint.yml
new file mode 100644
index 0000000..b05de20
--- /dev/null
+++ b/.yamllint.yml
@@ -0,0 +1,40 @@
+---
+yaml-files:
+ - '*.yaml'
+ - '*.yml'
+ - '.yamllint'
+ - 'collectors/python.d.plugin/*.conf'
+ - 'collectors/python.d.plugin/*/*.conf'
+
+ignore: |
+ mqtt_websockets/
+ packaging/makeself/tmp/
+
+rules:
+ braces: enable
+ brackets: enable
+ colons: enable
+ commas: enable
+ comments: disable
+ comments-indentation: disable
+ document-end: disable
+ document-start: disable
+ empty-lines: enable
+ empty-values: enable
+ hyphens: enable
+ indentation: enable
+ line-length:
+ max: 150
+ level: warning
+ allow-non-breakable-words: true
+ allow-non-breakable-inline-mappings: true
+ key-duplicates: enable
+ key-ordering: disable
+ new-line-at-end-of-file: enable
+ new-lines: enable
+ octal-values: enable
+ quoted-strings: disable
+ trailing-spaces: enable
+ truthy:
+ check-keys: false
+ allowed-values: ["true", "false", "yes", "no"]