-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.yamllint.yaml
More file actions
93 lines (93 loc) · 2.04 KB
/
Copy path.yamllint.yaml
File metadata and controls
93 lines (93 loc) · 2.04 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
87
88
89
90
91
92
93
---
## https://yamllint.readthedocs.io/en/stable/configuration.html
## https://yamllint.readthedocs.io/en/stable/rules.html
extends: 'default'
ignore:
- '.github/**'
- '.vale/**'
- '.venv/**'
- '.yamllint.yaml'
- 'node_modules/**'
- 'workspace/**'
rules:
anchors:
forbid-duplicated-anchors: false
forbid-undeclared-aliases: true
braces:
forbid: false
level: 'warning'
max-spaces-inside-empty: 0
max-spaces-inside: 1
min-spaces-inside-empty: 0
min-spaces-inside: 1
brackets:
forbid: false
level: 'warning'
max-spaces-inside-empty: 0
max-spaces-inside: 1
min-spaces-inside-empty: 0
min-spaces-inside: 0
colons:
level: 'warning'
max-spaces-after: 1
max-spaces-before: 0
commas:
level: 'warning'
max-spaces-after: 1
max-spaces-before: 0
min-spaces-after: 1
comments:
level: 'warning'
ignore-shebangs: true
min-spaces-from-content: 2
require-starting-space: true
comments-indentation: 'disable'
document-end:
present: false
document-start:
present: true
empty-lines:
level: 'warning'
max: 2
max-end: 0
max-start: 0
empty-values:
level: 'warning'
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
float-values:
level: 'warning'
forbid-inf: false
forbid-nan: false
forbid-scientific-notation: false
require-numeral-before-decimal: false
hyphens:
level: 'warning'
max-spaces-after: 1
indentation:
check-multi-line-strings: false
indent-sequences: true
spaces: 'consistent'
level: 'warning'
key-duplicates: {}
key-ordering: 'disable'
line-length:
allow-non-breakable-inline-mappings: true
allow-non-breakable-words: true
level: 'warning'
max: 120
new-line-at-end-of-file: 'enable'
new-lines:
type: 'unix'
octal-values:
forbid-implicit-octal: true
quoted-strings:
quote-type: 'any'
required: false
check-keys: false
truthy:
allowed-values: ['true', 'false']
check-keys: true
yaml-files:
- '*.yaml'
- '*.yml'