Merge pull request #1975 from github/nickrolfe/vscode-formatter
VSCode settings: set default formatter for TS
This commit is contained in:
commit
df32e39913
1 changed files with 4 additions and 1 deletions
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
|
@ -12,5 +12,8 @@
|
||||||
"git.ignoreLimitWarning": true,
|
"git.ignoreLimitWarning": true,
|
||||||
// Use the vendored TypeScript version to have a consistent development experience across
|
// Use the vendored TypeScript version to have a consistent development experience across
|
||||||
// machines.
|
// machines.
|
||||||
"typescript.tsdk": "node_modules/typescript/lib"
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue