Skip to content

Scheduling infrastructure for absolutely everyone.

fix: enable format on save with Prettier in VS Code (#24502)

Hariom Balhara34a9872df1bf
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c344645fab6..43ae1c6a83d 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,6 +1,7 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
- "editor.formatOnSave": false,
+ "editor.formatOnSave": true,
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},