-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yamllint.yml
87 lines (85 loc) · 1.71 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Check out yamllint at: https://github.com/adrienverge/yamllint
ignore-from-file:
- .gitignore
yaml-files:
- "*.yml"
rules:
anchors:
forbid-duplicated-anchors: true
forbid-undeclared-aliases: true
forbid-unused-anchors: true
braces:
level: error
forbid: true
brackets:
level: error
forbid: true
colons:
level: error
max-spaces-before: 0
max-spaces-after: 1
commas:
level: error
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments:
level: error
require-starting-space: true
ignore-shebangs: true
min-spaces-from-content: 1
comments-indentation:
level: error
document-end:
level: error
present: false
document-start:
level: error
present: false
empty-lines:
level: error
max: 1
max-start: 0
max-end: 0
empty-values:
level: error
forbid-in-block-mappings: true
forbid-in-block-sequences: true
forbid-in-flow-mappings: true
hyphens:
level: error
max-spaces-after: 1
indentation:
level: error
spaces: consistent
indent-sequences: true
check-multi-line-strings: false
key-duplicates:
level: error
forbid-duplicated-merge-keys: true
key-ordering: disable
line-length: disable
new-line-at-end-of-file:
level: error
new-lines:
level: error
type: unix
octal-values:
level: error
forbid-implicit-octal: true
forbid-explicit-octal: true
quoted-strings:
level: error
check-keys: true
quote-type: double
required: only-when-needed
extra-required:
- ^\d+:\d+$
trailing-spaces:
level: error
truthy:
level: error
allowed-values:
- "true"
- "false"
check-keys: false