Skip to content

Commit b235a1c

Browse files
committed
Adjust yamllint config for YAML::XS not indenting sequences
1 parent 57f8e68 commit b235a1c

File tree

1 file changed

+37
-4
lines changed

1 file changed

+37
-4
lines changed

t/yamllint.config

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
1+
---
2+
# https://yamllint.readthedocs.io/en/latest/rules.html#module-yamllint.rules.line_length
3+
yaml-files:
4+
- '*.yaml'
5+
- '*.yml'
6+
- '.yamllint'
7+
18
rules:
2-
line-length:
3-
max: 80
4-
allow-non-breakable-words: true
5-
allow-non-breakable-inline-mappings: true
9+
anchors: enable
10+
braces: enable
11+
brackets: enable
12+
colons: enable
13+
commas: enable
14+
comments:
15+
level: warning
16+
comments-indentation:
17+
level: warning
18+
document-end: disable
19+
document-start:
20+
level: warning
21+
empty-lines: enable
22+
empty-values: disable
23+
float-values: disable
24+
hyphens: enable
25+
indentation:
26+
spaces: consistent
27+
indent-sequences: consistent
28+
check-multi-line-strings: false
29+
key-duplicates: enable
30+
key-ordering: disable
31+
line-length: disable
32+
new-line-at-end-of-file: enable
33+
new-lines: enable
34+
octal-values: disable
35+
quoted-strings: disable
36+
trailing-spaces: enable
37+
truthy:
38+
level: warning

0 commit comments

Comments
 (0)