Skip to content

Commit 09d6ca8

Browse files
committed
Add dprint to VS Code JSON files
1 parent a7ff86a commit 09d6ca8

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
@@ -7,6 +7,11 @@
77
// To use the locally built compiler, after 'npm run build':
88
// "typescript.tsdk": "built/local"
99

10+
"[typescript][javascript][json][jsonc]": {
11+
// "editor.formatOnSave": true,
12+
"editor.defaultFormatter": "dprint.dprint"
13+
}
14+
1015
// To ignore commits listed in .git-blame-ignore-revs in GitLens:
1116
// "gitlens.advanced.blame.customArguments": [
1217
// "--ignore-revs-file",

0 commit comments

Comments
 (0)