-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.yamllint.yml
More file actions
49 lines (39 loc) · 836 Bytes
/
.yamllint.yml
File metadata and controls
49 lines (39 loc) · 836 Bytes
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
# yamllint configuration
# https://yamllint.readthedocs.io/
extends: default
rules:
# Allow long lines (common in Docker Compose)
line-length:
max: 200
level: warning
# Allow document start without ---
document-start: disable
# Allow comments without space after #
comments:
require-starting-space: false
min-spaces-from-content: 1
# Indentation settings
indentation:
spaces: 2
indent-sequences: true
# Truthy values (yes/no, on/off)
truthy:
allowed-values: ['true', 'false', 'yes', 'no']
check-keys: false
# Empty lines
empty-lines:
max: 2
max-start: 0
max-end: 1
# Braces
braces:
min-spaces-inside: 0
max-spaces-inside: 1
# Brackets
brackets:
min-spaces-inside: 0
max-spaces-inside: 1
ignore: |
.github/
node_modules/
vendor/