-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.yamllint
More file actions
52 lines (41 loc) · 1.03 KB
/
.yamllint
File metadata and controls
52 lines (41 loc) · 1.03 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
extends: default
ignore: |
.venv/
docs/themes/
.github/
helm/templates/
opentofu/modules/*/templates/
src/client/spring_ai/templates/
rules:
line-length:
max: 120
level: warning
indentation:
spaces: 2
indent-sequences: true
# Helm templates often use truthy values like yes/no, on/off
truthy:
allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
check-keys: false
# Allow both quoted and unquoted strings
quoted-strings:
quote-type: any
required: false
# Don't require document start marker (---)
document-start: disable
# More lenient on comments
comments:
min-spaces-from-content: 1
# Disable for commented-out examples in Helm values
comments-indentation: disable
# Allow empty values (common in Helm templates)
empty-values:
forbid-in-block-mappings: false
forbid-in-flow-mappings: false
# Brackets and braces (lenient for Helm)
brackets:
min-spaces-inside: 0
max-spaces-inside: 1
braces:
min-spaces-inside: 0
max-spaces-inside: 1