-
Notifications
You must be signed in to change notification settings - Fork 1
/
.yamllint
82 lines (61 loc) · 1.34 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
70
71
72
73
74
75
76
77
78
79
80
81
82
---
# SPDX-License-Identifier: AGPL-3.0-only
# SPDX-FileCopyrightText: 2023-2024 Univention GmbH
# reference: https://yamllint.readthedocs.io/
extends: "default"
rules:
braces:
level: "error"
brackets:
level: "error"
colons:
level: "error"
comments:
level: "error"
comments-indentation:
level: "error"
document-end:
# TODO: set level to error
level: "warning"
present: true
document-start:
# TODO: set level to error
level: "warning"
empty-lines:
level: "error"
empty-values:
# TODO: set level to error
level: "warning"
forbid-in-block-mappings: true
forbid-in-flow-mappings: true
float-values:
level: "error"
forbid-inf: true
forbid-nan: true
forbid-scientific-notation: true
require-numeral-before-decimal: true
indentation:
level: "error"
spaces: 2
key-duplicates:
level: "error"
line-length:
# TODO: set level to error
level: "warning"
max: 120
# already handled by pre-commit "end-of-file-fixer"
new-line-at-end-of-file:
level: "error"
octal-values:
level: "error"
forbid-explicit-octal: true
forbid-implicit-octal: true
quoted-strings:
# TODO: set level to error
level: "warning"
quote-type: "double"
required: true
allow-quoted-quotes: true
truthy:
level: "error"
...