mirror of
https://github.com/github/codeql-action
synced 2026-05-22 00:00:34 +03:00
VSCode settings: set default formatter for TS
Tell VSCode to format code with Prettier, since that's the same tool we use to check the format with `npm run lint`.
This commit is contained in:
Vendored
+4
-1
@@ -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"
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user