forked from rh-ecosystem-edge/enclave
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.yamllint.yml
More file actions
86 lines (70 loc) · 1.76 KB
/
.yamllint.yml
File metadata and controls
86 lines (70 loc) · 1.76 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
# Enclave Lab YAML Linting Configuration
# This configuration is optimized for Ansible playbooks and Kubernetes manifests
# Currently set to warning-only mode to allow gradual adoption
extends: default
rules:
# Line length - warn only for now
line-length:
max: 200
level: warning
# Indentation - warn only for now, allow both styles
indentation:
spaces: consistent
indent-sequences: whatever
level: warning
# Comments - allow flexibility
comments:
min-spaces-from-content: 1
level: warning
# Document start (---) - disable, not required
document-start: disable
# Trailing spaces - warn only for now
trailing-spaces:
level: warning
# Empty lines - warn only
empty-lines:
max: 3
level: warning
# Key duplicates - error (this is a real problem)
key-duplicates:
level: error
# Brackets - warn on spacing issues
brackets:
min-spaces-inside: 0
max-spaces-inside: 1
level: warning
# Braces - warn on spacing issues
braces:
min-spaces-inside: 0
max-spaces-inside: 1
level: warning
# Commas - warn only
commas:
level: warning
# Colons - warn only
colons:
level: warning
# Truthy values - disable (Ansible uses yes/no, on/off which are valid)
truthy:
allowed-values: ['true', 'false', 'yes', 'no', 'on', 'off']
check-keys: false
level: warning
# Comments indentation - required by ansible-lint
comments-indentation: disable
# Octal values - required by ansible-lint
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
level: warning
ignore: |
.github/
.git/
.idea/
node_modules/
venv/
.venv/
**/*.j2
**/*.jinja2
# Ignore example files that might not be perfectly formatted
config/*.example.yaml