-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.yamllint.yml
More file actions
64 lines (51 loc) · 1.43 KB
/
.yamllint.yml
File metadata and controls
64 lines (51 loc) · 1.43 KB
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
59
60
61
62
63
64
# YAML Lint Configuration for FFmpeg API
# https://yamllint.readthedocs.io/en/stable/configuration.html
extends: default
rules:
# Allow longer lines for docker compose and configuration files
line-length:
max: 120
level: warning
# Allow multiple spaces after colons for alignment
colons:
max-spaces-before: 0
max-spaces-after: -1
# Allow consistent indentation (2 or 4 spaces)
indentation:
spaces: consistent
indent-sequences: true
check-multi-line-strings: false
# Don't require document start markers (---)
document-start: disable
# Allow empty values in mappings
empty-values:
forbid-in-block-mappings: false
forbid-in-flow-mappings: false
# Make trailing spaces a warning instead of error
trailing-spaces:
level: warning
# Allow common truthy values used in Docker Compose
truthy:
allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
check-keys: false
# Allow brackets for flow sequences
brackets:
min-spaces-inside: 0
max-spaces-inside: 1
# Allow braces for flow mappings
braces:
min-spaces-inside: 0
max-spaces-inside: 1
# Allow comments to be closer to content
comments:
min-spaces-from-content: 1
# Don't require spacing around hyphens in flow sequences
hyphens:
max-spaces-after: 1
# Ignore specific files/patterns
ignore: |
.git/
node_modules/
.venv/
__pycache__/
*.pyc