workflow: use prettier for vscode formatting (#207)
This commit is contained in:
parent
584ac88b54
commit
68f4e5e04d
20
.vscode/settings.json
vendored
20
.vscode/settings.json
vendored
@ -1,9 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
// Use the project's typescript version
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"cSpell.enabledLanguageIds": [
|
|
||||||
"markdown",
|
"cSpell.enabledLanguageIds": ["markdown", "plaintext", "text", "yml"],
|
||||||
"plaintext",
|
|
||||||
"text",
|
// Use prettier to format typescript, javascript and JSON files
|
||||||
"yml"
|
"[typescript]": {
|
||||||
]
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[javascript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user