Skip to content

Commit

Permalink
Set prettier as workspace default formatter (#2854)
Browse files Browse the repository at this point in the history
* Set prettier as workspace default formatter

* fix: fix conflicts

---------

Co-authored-by: rickstaa <rick.staa@outlook.com>
  • Loading branch information
qwerty541 and rickstaa authored Jun 19, 2023
1 parent d727d17 commit 9a1cbaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"recommendations": [
"yzhang.markdown-all-in-one"
"yzhang.markdown-all-in-one",
"esbenp.prettier-vscode"
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"markdown.extension.toc.levels": "1..3",
"editor.formatOnSave": true
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
}

0 comments on commit 9a1cbaf

Please sign in to comment.