Skip to content

Commit

Permalink
feat(sage-monorepo): enable Format on Save for JSON and JSON with Com…
Browse files Browse the repository at this point in the history
…ments (Sage-Bionetworks#2294)

* Format JSON on save

* Enable format on save for jsonc
  • Loading branch information
tschaffter authored and mdsage1 committed Nov 1, 2023
1 parent 9e7baef commit b0bef99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"editor.formatOnSave": true,
"editor.tabSize": 4
},
"[json]": {
"editor.tabSize": 2
"[json][jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
// "[typescript]": {
// "editor.defaultFormatter": "dbaeumer.vscode-eslint",
Expand Down

0 comments on commit b0bef99

Please sign in to comment.