Skip to content

Commit

Permalink
Setting prettier as default formatter for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoferretti committed Dec 4, 2022
1 parent 42b3210 commit 540371b
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 @@ -28,5 +28,8 @@
"jest.rootPath": "packages/foam-vscode",
"jest.jestCommandLine": "yarn jest",
"gitdoc.enabled": false,
"search.mode": "reuseEditor"
"search.mode": "reuseEditor",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}

0 comments on commit 540371b

Please sign in to comment.