-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.yamllint.yaml
51 lines (41 loc) · 973 Bytes
/
.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
---
extends: default
rules:
document-start:
present: true
document-end:
present: false
line-length:
max: 200
allow-non-breakable-words: true
trailing-spaces: {} # Enabled
empty-lines:
max: 1
max-start: 1
max-end: 0
indentation:
spaces: 2
# Allow 0 indentations in files provided the file is consistent
indent-sequences: consistent
truthy:
check-keys: false
colons:
max-spaces-before: 0
max-spaces-after: 1
commas:
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
# quoted-strings:
# quote-type: single
# required: only-when-needed
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
comments:
require-starting-space: true
ignore-shebangs: true
min-spaces-from-content: 1
ignore:
- '{{cookiecutter.repository.name}}/.github/dependabot.yaml'
- '{{cookiecutter.repository.name}}/.github/workflows/terraform-ci.yaml'