Skip to content

Commit

Permalink
Only use vscode-eslint to format supported files
Browse files Browse the repository at this point in the history
 It can really only format JavaScript and TypeScript.
  • Loading branch information
SamB committed Mar 15, 2024
1 parent a8a5ed0 commit 0833abc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion peggy.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
],
"settings": {
"eslint.format.enable": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"[javascript][typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
},
"extensions": {
"recommendations": [
Expand Down

0 comments on commit 0833abc

Please sign in to comment.