Skip to content

Commit 7697fdb

Browse files
committed
Configure hooks for before committing and pushing code
1 parent e72389e commit 7697fdb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.huskyrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "npm run lint && npm run test:coverage",
4+
"pre-push": "npm run lint && npm run test:coverage"
5+
}
6+
}

0 commit comments

Comments
 (0)