summaryrefslogtreecommitdiffstats
path: root/.yamllint
diff options
context:
space:
mode:
Diffstat (limited to '.yamllint')
-rw-r--r--.yamllint22
1 files changed, 22 insertions, 0 deletions
diff --git a/.yamllint b/.yamllint
new file mode 100644
index 0000000..59c2fa5
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,22 @@
+---
+rules:
+ comments:
+ # prettier compatibility
+ min-spaces-from-content: 1
+ document-start:
+ present: true
+ indentation:
+ level: error
+ indent-sequences: consistent
+ octal-values:
+ forbid-implicit-octal: true
+ forbid-explicit-octal: true
+ignore: |
+ .tox
+ examples/playbooks/example.yml
+ examples/playbooks/syntax-error-string.yml
+ examples/playbooks/vars/not_decryptable.yml
+ test/schemas/negative_test/**/*.yml
+ test/schemas/test/**/*.yml
+
+# ignore added because this file includes on-purpose errors