File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,3 @@ exclude_paths:
5
5
- .github/
6
6
- venv/
7
7
- .ansible/
8
-
Original file line number Diff line number Diff line change 1
1
---
2
- # yamllint configuration compatible with ansible-lint
2
+ # Yamllint configuration should be compatible with Ansible,
3
+ # see https://ansible.readthedocs.io/projects/lint/rules/yaml/#yamllint-configuration
4
+
3
5
extends: default
4
6
5
7
rules:
8
+ comments:
9
+ # https://github.com/prettier/prettier/issues/6780
10
+ min-spaces-from-content: 1
11
+ # https://github.com/adrienverge/yamllint/issues/384
12
+ comments-indentation: false
13
+ document-start: disable
14
+ # 160 chars was the default used by old E204 rule, but
15
+ # you can easily change it or disable in your .yamllint file.
6
16
line-length:
7
17
max: 200
18
+ # We are adding an extra space inside braces as that's how prettier does it
19
+ # and we are trying not to fight other linters.
20
+ braces:
21
+ min-spaces-inside: 0 # yamllint defaults to 0
22
+ max-spaces-inside: 1 # yamllint defaults to 0
23
+ # key-duplicates:
24
+ # forbid-duplicated-merge-keys: true # not enabled by default
25
+ octal-values:
26
+ forbid-implicit-octal: true # yamllint defaults to false
27
+ forbid-explicit-octal: true # yamllint defaults to false
28
+ # quoted-strings:
29
+ # quote-type: double
30
+ # required: only-when-needed
31
+
8
32
9
33
ignore: |
10
34
.cache/
You can’t perform that action at this time.
0 commit comments