-
Notifications
You must be signed in to change notification settings - Fork 3
/
.yamllint
40 lines (39 loc) · 880 Bytes
/
.yamllint
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
---
# Based on ansible-lint config
extends: default
rules:
braces:
min-spaces-inside: 0 # yamllint defaults to 0
max-spaces-inside: 1 # yamllint defaults to 0
brackets:
min-spaces-inside: 0
max-spaces-inside: 1
colons:
max-spaces-after: -1
commas:
max-spaces-after: -1
comments:
min-spaces-from-content: 1
comments-indentation: false
document-start: enable
empty-lines:
max: 3
hyphens:
level: error
indentation:
spaces: consistent
indent-sequences: true
key-duplicates: enable
line-length:
max: 160
level: warning
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
new-line-at-end-of-file: enable
new-lines:
type: unix
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
# truthy:
# allowed-values: ["true", "false", "yes", "no"]