Skip to content

Commit a332065

Browse files
committed
Configure Yaml formatting
1 parent 959858c commit a332065

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ indent_size = 4
1313

1414
[*.ts]
1515
indent_size = 4
16+
17+
[*.{yaml,yml}]
18+
indent_size = 2

.vscode/settings.json.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
// Use the same line length as black and flake8
1717
"vim.textwidth": 88
1818
},
19+
"[yaml]": {
20+
"editor.defaultFormatter": "esbenp.prettier-vscode"
21+
},
1922
"terminal.integrated.env.osx": {
2023
// Dependencies can be provided under the subprojects/ directory. They
2124
// would automatically be included in GPR_PROJECT_PATH by the following

0 commit comments

Comments
 (0)