forked from playingfield/controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.yamllint
39 lines (38 loc) · 819 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
---
# https://yamllint.readthedocs.io/en/stable/rules.html
extends: default
ignore: |
.tox/
.cache
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
comments:
# https://github.com/prettier/prettier/issues/6780
min-spaces-from-content: 1
# https://github.com/adrienverge/yamllint/issues/384
comments-indentation: false
document-start: disable
indentation:
indent-sequences: consistent
spaces: 2
level: error
line-length:
max: 160
level: warning
key-duplicates: enable
new-line-at-end-of-file: enable
new-lines:
type: unix
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
trailing-spaces: enable
truthy:
allowed-values: ['true', 'false']
check-keys: false
...