-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.yamllint
37 lines (30 loc) · 879 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
extends: "default"
rules:
document-start: "disable"
line-length: "disable"
# Avoid flow/JSON style
braces:
forbid: "non-empty"
# Duplicates create needless ambiguity
key-duplicates: "enable"
# Prevent YAML ambiguity whenever possible
truthy:
allowed-values:
- "true"
- "false"
check-keys: true
quoted-strings:
quote-type: "any"
required: false
empty-values:
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
# Strict alphabetical ordering may force contrived files
# as it prevents logical grouping
key-ordering: "disable"
indentation:
spaces: "consistent"
# If a list is nested, it should be obvious visually
indent-sequences: true
trailing-spaces: "enable"
new-line-at-end-of-file: "enable"