Skip to content

Commit 84fc858

Browse files
committed
chore: enable format on save rule
1 parent a402e3c commit 84fc858

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.vscode/settings.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
33
"typescript.tsdk": "node_modules/typescript/lib",
4-
"tslint.configFile": "tslint.test.json"
4+
"tslint.configFile": "tslint.test.json",
5+
6+
// Set the default
7+
"editor.formatOnSave": false,
8+
9+
// Enable per-language
10+
"[html]": {
11+
"editor.formatOnSave": true
12+
},
13+
14+
"[json]": {
15+
"editor.formatOnSave": true
16+
},
17+
18+
"[javascript]": {
19+
"editor.formatOnSave": true
20+
},
21+
22+
"[typescript]": {
23+
"editor.formatOnSave": true
24+
}
525
}

0 commit comments

Comments
 (0)