Skip to content

Commit

Permalink
Bonus: add Prettier settings
Browse files Browse the repository at this point in the history
  • Loading branch information
alecrem committed Jun 18, 2023
1 parent e3a16b2 commit 1b04f38
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "es5",
"semi": false
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 2,
"typescript.tsdk": "node_modules/typescript/lib"
}

0 comments on commit 1b04f38

Please sign in to comment.