Skip to content

Commit 4115d00

Browse files
committed
chore(editorconfig, prettier): Update config files for formatting yaml files.
1 parent 4d7f558 commit 4115d00

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ quote_type = single
1111

1212
[*.md]
1313
trim_trailing_whitespace = false
14+
15+
[*.yml]
16+
indent_style = space
17+
indent_size = 2

.prettierrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@
2222
"options": {
2323
"printWidth": 80
2424
}
25+
},
26+
{
27+
"files": [
28+
"*.yml"
29+
],
30+
"options": {
31+
"useTabs": false,
32+
"tabWidth": 2
33+
}
2534
}
2635
]
2736
}

0 commit comments

Comments
 (0)