aboutsummaryrefslogtreecommitdiffhomepage
path: root/.yamllint.yml
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-19 09:52:21 -0500
committerLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-19 09:52:21 -0500
commitd62baac66345ed735443cbb648e684923fed7d17 (patch)
tree0dc5c11f860fe6b373f3f66b87358d1e46b8407d /.yamllint.yml
parent9cac39786e63d655eceb3ecbd74b3df8461654d3 (diff)
downloadansible-rabbitmq-d62baac66345ed735443cbb648e684923fed7d17.tar.gz
ansible-rabbitmq-d62baac66345ed735443cbb648e684923fed7d17.tar.zst
ansible-rabbitmq-d62baac66345ed735443cbb648e684923fed7d17.zip
Added Travis testing
Diffstat (limited to '.yamllint.yml')
-rw-r--r--.yamllint.yml58
1 files changed, 58 insertions, 0 deletions
diff --git a/.yamllint.yml b/.yamllint.yml
new file mode 100644
index 0000000..9c7cac4
--- /dev/null
+++ b/.yamllint.yml
@@ -0,0 +1,58 @@
1---
2extends: default
3
4rules:
5 braces:
6 # Defaults
7 # min-spaces-inside: 0
8 # max-spaces-inside: 0
9
10 # Keeping 0 min-spaces to not error on empty collection definitions
11 min-spaces-inside: 0
12 # Allowing one space inside braces to improve code readability
13 max-spaces-inside: 1
14
15 brackets:
16 # Defaults
17 # min-spaces-inside: 0
18 # max-spaces-inside: 0
19
20 # Keeping 0 min-spaces to not error on empty collection definitions
21 min-spaces-inside: 0
22 # Allowing one space inside braces to improve code readability
23 max-spaces-inside: 1
24
25 colons:
26 # Defaults
27 # max-spaces-before: 0
28 # max-spaces-after: 1
29
30 max-spaces-before: 0
31 # Allowing more than one space for code readability
32 max-spaces-after: -1
33
34 comments:
35 # Defaults
36 # level: warning
37 # require-starting-space: true
38 # min-spaces-from-content: 2
39
40 # Disabling to allow for code comment blocks and #!/usr/bin/ansible-playbook
41 require-starting-space: false
42
43 indentation:
44 # Defaults
45 # spaces: consistent
46 # indent-sequences: true
47 # check-multi-line-strings: false
48
49 # Requiring 2 space indentation
50 spaces: 2
51 # Requiring consistent indentation within a file, either indented or not
52 indent-sequences: consistent
53
54 # Disabling due to copious amounts of long lines in the code which would
55 # require a code style change to resolve
56 line-length: disable
57
58 truthy: disable