Skip to content

Commit

Permalink
feat: add prettier (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu authored Aug 3, 2023
1 parent 61c251a commit 6ca973d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/.git
**/.svn
**/.hg
**/node_modules


7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 80,
arrowParens: 'avoid',
};

0 comments on commit 6ca973d

Please sign in to comment.