-
Notifications
You must be signed in to change notification settings - Fork 29
/
.yamllint
37 lines (35 loc) · 931 Bytes
/
.yamllint
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
---
extends: default
rules:
# the default of 80 is overly-restrictive, particularly when nested
line-length:
max: 120
level: warning
# as this repository also contains generated yaml, we only enforce
# indentation consistency within a file
indentation:
spaces: consistent
indent-sequences: consistent
# we can only choose from true or false. since we have files containing
# several documents, we explicitly require document-starts
document-start:
present: true
comments:
min-spaces-from-content: 1
# comments-indentation linting has unwanted edgecases:
# https://github.com/adrienverge/yamllint/issues/141
comments-indentation: disable
ignore:
# generated files
- config/crd
- config/certmanager
- config/prometheus
- config/rbac
- test/e2e
- out
- .*.yaml
- .*.yml
# these are clusterctl templates, not yaml
- templates
# github actions checked by actionlint
- .github/workflows