From 540371bf96aebec38cd086ff71249812e8c80d4d Mon Sep 17 00:00:00 2001 From: Riccardo Ferretti Date: Sun, 4 Dec 2022 18:12:03 +0100 Subject: [PATCH] Setting prettier as default formatter for typescript --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b73089f3b..16c0c76e3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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" + } }