Skip to content

Commit 34cdef6

Browse files
author
Rajat Sancheti
committed
Adds prettier to pre-commit hook
1 parent 4536256 commit 34cdef6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,12 @@
8989
"git add"
9090
],
9191
"*.js": [
92+
"prettier --write",
9293
"eslint --fix",
9394
"git add"
9495
],
9596
"*.{ts,tsx}": [
97+
"prettier --write",
9698
"eslint --fix",
9799
"git add"
98100
]

0 commit comments

Comments
 (0)