summaryrefslogtreecommitdiff
path: root/.yamllint
diff options
context:
space:
mode:
authorAdrien Vergé <adrienverge@gmail.com>2016-06-04 19:58:17 +0200
committerMatt Clay <matt@mystile.com>2016-06-04 10:58:17 -0700
commit4d487112421dc8ed851ebf638a2a1b939e3403b8 (patch)
tree9ea18261ab3bc91695308c78b57f2d33f5cb8833 /.yamllint
parent4fe8fe303fa03d3f78bf23208ef1851141687545 (diff)
downloadansible-4d487112421dc8ed851ebf638a2a1b939e3403b8.tar.gz
Fix YAML source and check it on Shippable (#15678)
Fix YAML source and check it on Shippable
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 0000000000..764780d44a
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,22 @@
+extends: default
+
+# Disable all cosmetic rules
+# (see https://github.com/ansible/ansible/pull/15470#issuecomment-214437876)
+# Only keep 'key-duplicates' and 'new-lines: {type: unix}' checks enabled.
+
+rules:
+ braces: disable
+ brackets: disable
+ colons: disable
+ commas: disable
+ comments: disable
+ comments-indentation: disable
+ document-start: disable
+ empty-lines: disable
+ hyphens: disable
+ indentation: disable
+ key-duplicates: enable
+ line-length: disable
+ new-line-at-end-of-file: disable
+ new-lines: {type: unix}
+ trailing-spaces: disable