summaryrefslogtreecommitdiffstats
path: root/.yamllint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.yamllint.yml')
-rw-r--r--.yamllint.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.yamllint.yml b/.yamllint.yml
new file mode 100644
index 00000000..09d99aa8
--- /dev/null
+++ b/.yamllint.yml
@@ -0,0 +1,34 @@
+---
+yaml-files:
+ - '*.yaml'
+ - '*.yml'
+ - '.yamllint'
+ - 'collectors/python.d.plugin/*.conf'
+ - 'collectors/python.d.plugin/*/*.conf'
+
+rules:
+ line-length:
+ max: 120
+ level: warning
+ braces: enable
+ brackets: enable
+ colons: enable
+ commas: enable
+ comments: disable
+ comments-indentation: disable
+ document-end: disable
+ document-start: disable
+ empty-lines: enable
+ empty-values: disable
+ hyphens: enable
+ indentation: enable
+ 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"]