-
Notifications
You must be signed in to change notification settings - Fork 10
/
.yamllint
54 lines (52 loc) · 1.25 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
---
yaml-files:
- '*.yaml'
- '.yamllint'
rules:
anchors:
forbid-undeclared-aliases: true
forbid-duplicated-anchors: true
forbid-unused-anchors: true
braces:
forbid: non-empty
brackets:
forbid: false
min-spaces-inside: -1
max-spaces-inside: -1
min-spaces-inside-empty: -1
max-spaces-inside-empty: -1
colons:
max-spaces-before: 0
max-spaces-after: -1
commas: enable
comments:
require-starting-space: true
ignore-shebangs: true
min-spaces-from-content: 1
comments-indentation: enable
document-end: disable
document-start: disable
empty-lines:
max: 1
max-start: 0
max-end: 0
empty-values: disable
float-values: disable
hyphens: enable
indentation:
spaces: 4
indent-sequences: consistent
level: warning
key-duplicates:
forbid-duplicated-merge-keys: true
key-ordering: disable
line-length:
max: 120
# level: warning
new-line-at-end-of-file: enable
new-lines: enable
octal-values: enable
quoted-strings: disable
trailing-spaces: enable
truthy:
allowed-values: ['true', 'True', 'false', 'False']