generated from wayofdev/docker-tpl
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yamllint
58 lines (43 loc) · 1.12 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
---
extends: "default"
# Overwrite above default rules
rules:
braces:
# Defaults
# min-spaces-inside: 0
# max-spaces-inside: 0
# Keep 0 min-spaces to not error on empty {} collection definitions
min-spaces-inside: 0
# Allow one space inside braces to improve code readability
max-spaces-inside: 1
brackets:
# Defaults
# min-spaces-inside: 0
# max-spaces-inside: 0
# Keep 0 min-spaces to not error on empty [] collection definitions
min-spaces-inside: 0
# Allow one space inside braces to improve code readability
max-spaces-inside: 1
colons:
# Defaults
# min-spaces-before: 0
# max-spaces-after: 1
# Allow multiple spaces after a colon to allow indentation of YAML
# dictionary values
max-spaces-after: -1
commas:
# Defaults
# max-spaces-after: 1
# Allow multiple spaces after a comma to allow indentation of YAML
# dictionary values
max-spaces-after: -1
comments:
require-starting-space: true
min-spaces-from-content: 1
line-length:
max: 180
level: warning
yaml-files:
- "*.yaml"
- "*.yml"
...