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",
|
||||
"cSpell.enabledLanguageIds": [
|
||||
"markdown",
|
||||
"plaintext",
|
||||
"text",
|
||||
"yml"
|
||||
]
|
||||
|
||||
"cSpell.enabledLanguageIds": ["markdown", "plaintext", "text", "yml"],
|
||||
|
||||
// Use prettier to format typescript, javascript and JSON files
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user