Skip to content

Commit

Permalink
Merge pull request #1975 from github/nickrolfe/vscode-formatter
Browse files Browse the repository at this point in the history
VSCode settings: set default formatter for TS
  • Loading branch information
nickrolfe committed Oct 30, 2023
2 parents a3795eb + 88d03c6 commit df32e39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"git.ignoreLimitWarning": true,
// Use the vendored TypeScript version to have a consistent development experience across
// machines.
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}

0 comments on commit df32e39

Please sign in to comment.