-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.yamllint.yaml
59 lines (59 loc) · 1.25 KB
/
.yamllint.yaml
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
---
extends: 'default'
ignore:
- '.data/'
- 'vendor/'
- 'node_modules/'
- 'pnpm-lock.yaml'
- '.venv'
rules:
anchors:
forbid-undeclared-aliases: true
forbid-duplicated-anchors: false
forbid-unused-anchors: false
braces: 'enable'
brackets: 'enable'
colons: 'enable'
commas: 'enable'
comments:
require-starting-space: false
ignore-shebangs: true
min-spaces-from-content: 1
comments-indentation: 'enable'
document-end:
present: false
document-start:
present: true
empty-lines:
max: 2
max-start: 0
max-end: 0
empty-values:
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
float-values:
forbid-inf: false
forbid-nan: false
forbid-scientific-notation: false
require-numeral-before-decimal: false
hyphens:
max-spaces-after: 1
indentation:
spaces: 'consistent'
indent-sequences: 'consistent'
key-duplicates: 'enable'
key-ordering: 'disable'
line-length:
max: 130
new-line-at-end-of-file: 'enable'
new-lines:
type: 'unix'
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: false
quoted-strings:
quote-type: 'single'
required: true
trailing-spaces: 'disable'
truthy:
allowed-values: ['true', 'false']