Skip to content

Commit 6ca973d

Browse files
authored
feat: add prettier (#17)
1 parent 61c251a commit 6ca973d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/.git
2+
**/.svn
3+
**/.hg
4+
**/node_modules
5+
6+

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
semi: true,
3+
trailingComma: 'all',
4+
singleQuote: true,
5+
printWidth: 80,
6+
arrowParens: 'avoid',
7+
};

0 commit comments

Comments
 (0)