forked from mongodb/genny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yamllint
41 lines (38 loc) Β· 830 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
38
39
40
41
# -*-mode: yaml-*-
extends: default
ignore:
- evergreen
rules:
anchors:
forbid-undeclared-aliases: true
forbid-duplicated-anchors: true
forbid-unused-anchors: false
braces:
max-spaces-inside: 1
colons:
max-spaces-before: 0
max-spaces-after: 1
line-length:
max: 160
indentation:
spaces: 2
indent-sequences: true
check-multi-line-strings: false
comments:
level: error
require-starting-space: true
# Default is 2, use 1 to align with prettier-yaml
min-spaces-from-content: 1
comments-indentation:
level: error
document-start:
level: error
present: false
new-line-at-end-of-file: enable
empty-lines: disable
trailing-spaces: enable
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
truthy:
level: error