Skip to content

Commit

Permalink
Fixed VSCode formatting for TypeScript (#2857)
Browse files Browse the repository at this point in the history
* Fixed VSCode formatting for TypeScript

* Recommend prettier plugin
  • Loading branch information
RunDevelopment authored May 17, 2024
1 parent c8f27e0 commit 87363dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"ms-python.vscode-pylance",
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint",
"charliermarsh.ruff"
"charliermarsh.ruff",
"esbenp.prettier-vscode"
]
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"editor.formatOnSave": true,
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
},
"[javascript]": {
Expand Down

0 comments on commit 87363dd

Please sign in to comment.