Skip to content

Commit

Permalink
chore: enable format on save rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoschenkel committed Mar 20, 2019
1 parent 0dc5d31 commit 87c4a31
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
// Place your settings in this file to overwrite default and user settings.
{
"typescript.tsdk": "node_modules/typescript/lib",
"tslint.configFile": "tslint.test.json"
"tslint.configFile": "tslint.test.json",

// Set the default
"editor.formatOnSave": false,

// Enable per-language
"[html]": {
"editor.formatOnSave": true
},

"[json]": {
"editor.formatOnSave": true
},

"[javascript]": {
"editor.formatOnSave": true
},

"[typescript]": {
"editor.formatOnSave": true
}
}

0 comments on commit 87c4a31

Please sign in to comment.