Skip to content

Commit

Permalink
Don’t format-on-save for anything but JS and CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
irskep authored and cu committed Jul 26, 2024
1 parent c6786b9 commit 3e7fadb
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
"[javascript]": {
"editor.formatOnSave": true
},
"[css]": {
"editor.formatOnSave": true
},
"[markdown]": {
"editor.formatOnSave": false
},
"[python]": {
"editor.formatOnSave": false
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
}

0 comments on commit 3e7fadb

Please sign in to comment.