Skip to content

Commit 1a3cd7c

Browse files
Typescript formatter was being used in Typescript file which stomped on prettier formatting (#5701)
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
1 parent 825ed73 commit 1a3cd7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.vscode/settings.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"editor.insertSpaces": false,
44
"typescript.tsdk": "node_modules/typescript/lib",
55
"prettier.requireConfig": true,
6-
"editor.defaultFormatter": "esbenp.prettier-vscode"
6+
"editor.defaultFormatter": "esbenp.prettier-vscode",
7+
"[typescript]": {
8+
"editor.defaultFormatter": "esbenp.prettier-vscode"
9+
}
710
}

0 commit comments

Comments
 (0)