Skip to content

Commit 7c423a2

Browse files
committed
chore: update VSCode settings for default formatter and code actions on save
1 parent 5387678 commit 7c423a2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"editor.defaultFormatter": "dprint.dprint"
44
},
55
"[jsonc]": {
6-
"editor.defaultFormatter": "dprint.dprint"
6+
"editor.defaultFormatter": "vscode.json-language-features"
77
},
88
"[typescript]": {
99
"editor.defaultFormatter": "dprint.dprint"
@@ -15,6 +15,12 @@
1515
"editor.insertSpaces": true,
1616
"editor.tabSize": 2
1717
},
18+
"editor.codeActionsOnSave": {
19+
"source.formatting": "explicit",
20+
"source.fixAll": "explicit",
21+
"source.fixAll.eslint": "explicit",
22+
"source.organizeImports": "never"
23+
},
1824
"eslint.validate": [
1925
"javascript",
2026
"javascriptreact",

0 commit comments

Comments
 (0)