]> git.immae.eu Git - github/fretlink/ansible-rabbitmq.git/blob - .yamllint.yml
Disabled Ubuntu 14.04 and Debian Jessie
[github/fretlink/ansible-rabbitmq.git] / .yamllint.yml
1 ---
2 extends: default
3
4 rules:
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