Skip to content

Commit

Permalink
Add dprint to VS Code JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Sep 10, 2022
1 parent fdd434b commit 7a75059
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"rbuckton.tsserver-live-reload"
"rbuckton.tsserver-live-reload",
"dprint.dprint"
],

"unwantedRecommendations": [
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@

// To use the locally built compiler, after 'npm run build':
// "typescript.tsdk": "built/local"

"[typescript][javascript][json][jsonc]": {
// "editor.formatOnSave": true,
"editor.defaultFormatter": "dprint.dprint"
}
}

0 comments on commit 7a75059

Please sign in to comment.