Skip to content

Commit

Permalink
Add format on save
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Aug 16, 2024
1 parent 11b9972 commit 304056a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules
.vscode
dist
docs
*.log
Expand Down
20 changes: 20 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 4
},

"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true
}

0 comments on commit 304056a

Please sign in to comment.