-
Notifications
You must be signed in to change notification settings - Fork 7
/
.yamllint
45 lines (43 loc) · 881 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
41
42
43
44
45
---
extends: default
yaml-files:
- "*.yaml"
- "*.yml"
- ".yamllint"
rules:
anchors:
forbid-duplicated-anchors: true
forbid-unused-anchors: true
braces:
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 1
brackets:
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 1
document-end:
present: false
level: error
document-start:
present: true
level: error
empty-lines:
max: 1
float-values:
forbid-inf: true
forbid-nan: true
forbid-scientific-notation: false
require-numeral-before-decimal: false
level: error
indentation:
spaces: 2
line-length:
max: 120
allow-non-breakable-inline-mappings: true
level: warning
new-lines:
level: warning
truthy:
check-keys: false
allowed-values: ['true', 'false', 'yes', 'no']