forked from netbox-community/ansible_modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.yamllint.yml
More file actions
52 lines (50 loc) · 1017 Bytes
/
Copy path.yamllint.yml
File metadata and controls
52 lines (50 loc) · 1017 Bytes
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
---
extends: default
# see rules at https://yamllint.readthedocs.io/en/latest/rules.html
ignore: |
- .cache/
- .venv/
- .github/
rules:
braces:
max-spaces-inside: 20
level: error
brackets:
max-spaces-inside: 20
level: error
colons:
max-spaces-before: 1
max-spaces-after: 20
level: error
commas:
max-spaces-before: 50
min-spaces-after: 1
max-spaces-after: 20
level: error
comments:
min-spaces-from-content: 1
comments-indentation: disable
document-start:
present: true
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation:
spaces: 2
indent-sequences: whatever
check-multi-line-strings: false
key-duplicates: enable
line-length:
max: 230
level: warning
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
new-line-at-end-of-file: enable
new-lines:
type: unix
trailing-spaces: enable
truthy: disable
octal-values:
forbid-explicit-octal: true