forked from splunk/ansible-role-for-splunk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.yamllint.yml
More file actions
43 lines (42 loc) · 949 Bytes
/
.yamllint.yml
File metadata and controls
43 lines (42 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
yaml-files:
- "*.yaml"
- "*.yml"
- .yamllint
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 1
min-spaces-inside-empty: 0
brackets:
min-spaces-inside: 0
max-spaces-inside: 2
min-spaces-inside-empty: 0
colons: disable
commas: enable
comments:
min-spaces-from-content: 1
level: warning
comments-indentation: false
# level: warning
document-end: disable
document-start:
ignore: |
**/**/vault.yml
level: warning
empty-lines: enable
empty-values: disable
hyphens: enable
indentation: enable
key-duplicates: enable
key-ordering: disable
line-length: disable
# When using `ansible-galaxy init ..` the newline is removed
new-line-at-end-of-file: disable
new-lines: enable
octal-values:
forbid-explicit-octal: true
forbid-implicit-octal: true
quoted-strings: disable
trailing-spaces: enable
truthy: { allowed-values: ["true", "false"] }