Skip to content

Commit 7cb96dd

Browse files
fixing trailing-spaces
1 parent 2c1b913 commit 7cb96dd

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.ansible-lint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ exclude_paths:
55
- .github/
66
- venv/
77
- .ansible/
8-

.yamllint

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,34 @@
11
---
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+
35
extends: default
46

57
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.
616
line-length:
717
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+
832

933
ignore: |
1034
.cache/

0 commit comments

Comments
 (0)