-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.yamllint.yml
More file actions
42 lines (34 loc) · 902 Bytes
/
.yamllint.yml
File metadata and controls
42 lines (34 loc) · 902 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
---
extends: default
rules:
document-start: enable
# Allow longer lines for readability in configuration files
line-length:
max: 185
level: warning
# Allow empty values in mappings (common in Docker Compose)
empty-values:
forbid-in-block-mappings: false
forbid-in-flow-mappings: false
# Be more lenient with indentation for nested structures
indentation:
spaces: 2
indent-sequences: true
check-multi-line-strings: false
truthy:
check-keys: false
# Allow comments to start anywhere
comments-indentation: disable
# Allow trailing spaces in empty lines
empty-lines:
max-start: 1
max-end: 1
max: 2
# Allow dashes in key names (common in GitHub Actions)
key-duplicates: enable
# Allow brackets in flow sequences
brackets: enable
# Allow braces in flow mappings
braces: enable
comments:
min-spaces-from-content: 1