Skip to content

Commit 22c8c50

Browse files
committed
Add dprint to VS Code JSON files
1 parent ad84d1b commit 22c8c50

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"recommendations": [
33
"dbaeumer.vscode-eslint",
4-
"rbuckton.tsserver-live-reload"
4+
"rbuckton.tsserver-live-reload",
5+
"dprint.dprint"
56
],
67

78
"unwantedRecommendations": [

.vscode/settings.template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,9 @@
66

77
// To use the locally built compiler, after 'npm run build':
88
// "typescript.tsdk": "built/local"
9+
10+
"[typescript][javascript][json][jsonc]": {
11+
// "editor.formatOnSave": true,
12+
"editor.defaultFormatter": "dprint.dprint"
13+
}
914
}

0 commit comments

Comments
 (0)