Skip to content

Commit 81a72ae

Browse files
committed
add husky and lint staged
1 parent caef9b8 commit 81a72ae

File tree

4 files changed

+634
-5
lines changed

4 files changed

+634
-5
lines changed

.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.lintstagedrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"./server/*": "npm run format:fix"
3+
}

0 commit comments

Comments
 (0)