diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:52:21 -0500 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-20 00:55:35 -0500 |
commit | 7437143766ca1584696fe6e828b25ed83930f478 (patch) | |
tree | 23cc3da864f890f4158a7d431c2ac7a5ef02faee /.yamllint.yml | |
parent | 4353d29ae004cea98d3a80ef941aaa155c84bf9a (diff) | |
download | ansible-rabbitmq-7437143766ca1584696fe6e828b25ed83930f478.tar.gz ansible-rabbitmq-7437143766ca1584696fe6e828b25ed83930f478.tar.zst ansible-rabbitmq-7437143766ca1584696fe6e828b25ed83930f478.zip |
Added Travis testing
Diffstat (limited to '.yamllint.yml')
-rw-r--r-- | .yamllint.yml | 58 |
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 | --- | ||
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 | ||