-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.yaml-lint.yml
46 lines (43 loc) · 990 Bytes
/
.yaml-lint.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
---
# https://yamllint.readthedocs.io/en/stable/index.html
# yamllint --strict -c .yaml-lint.yml .
extends: default
locale: en_US.UTF-8
rules:
# 150 chars should be enough, but don't fail if a line is longer
line-length:
max: 150
allow-non-breakable-inline-mappings: true
level: warning
comments:
min-spaces-from-content: 1
level: warning
braces:
min-spaces-inside: 0
max-spaces-inside: 0
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
indentation:
indent-sequences: consistent
level: warning
document-end: disable
document-start:
level: warning
indentation: disable
colons: enable
commas: enable
comments-indentation:
level: warning
empty-lines: enable
empty-values: disable
hyphens: enable
key-duplicates: enable
key-ordering: disable
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning