-
Notifications
You must be signed in to change notification settings - Fork 12
/
.yamllint.yml
47 lines (45 loc) Β· 943 Bytes
/
.yamllint.yml
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
44
45
46
47
yaml-files:
- '*.yaml'
- '*.yml'
- .yamllint
ignore: .github
# Checks documentation:
# https://yamllint.readthedocs.io/en/stable/rules.html
rules:
braces:
min-spaces-inside: 1
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0
colons: enable
commas: enable
comments:
min-spaces-from-content: 1
comments-indentation: enable
document-end:
present: false
document-start:
present: false
empty-lines:
max: 2
empty-values: enable
hyphens: enable
indentation:
spaces: 2
key-duplicates: enable
key-ordering: disable
line-length:
max: 120
new-line-at-end-of-file: enable
new-lines: enable
octal-values: enable
quoted-strings:
quote-type: any
required: only-when-needed
trailing-spaces: enable
truthy: enable