This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.yamllint
69 lines (67 loc) · 1.52 KB
/
.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
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
---
yaml-files:
- '*.yml'
- '*.yaml'
- '.yamllint'
# ignore ansible virtualenv
# ignore crds as they can sometimes be several thousand lines long
# ignore psps as they may diverge from upstream even if we lint them
# ignore helm as they may diverge from templating even if we lint them
ignore: |
ansible-virtualenv
**/files/base/*.yaml
**/psp/**/*
**/helm/**/*
**/build/**/*
roles/external/**/*
**.pip/**/*
inventory.yaml
roles/**/files/**
rules:
braces:
level: 'error'
min-spaces-inside: 0
max-spaces-inside: 0
brackets:
level: 'error'
min-spaces-inside: 0
max-spaces-inside: 0
colons:
level: 'error'
max-spaces-before: 0
max-spaces-after: -1
commas:
level: 'error'
max-spaces-before: 0
comments:
level: 'error'
min-spaces-from-content: 0
require-starting-space: false
ignore-shebangs: true
comments-indentation: 'disable'
document-end: 'disable'
document-start:
level: 'error'
present: true
empty-lines:
level: 'error'
max: 1
max-end: 1
max-start: 1
empty-values: 'disable'
hyphens:
level: 'error'
max-spaces-after: 1
indentation:
level: 'error'
spaces: 2
key-duplicates: 'enable'
key-ordering: 'disable'
line-length: 'disable'
new-line-at-end-of-file: 'enable'
new-lines: 'enable'
octal-values: 'disable'
quoted-strings: 'disable'
trailing-spaces: 'enable'
truthy:
level: 'error'