Skip to content

Commit c76050a

Browse files
committed
integrated husky
1 parent 5ce28a2 commit c76050a

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

package-lock.json

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
"jest": {
1818
"testEnvironment": "node"
1919
},
20+
"husky": {
21+
"hooks": {
22+
"pre-commit": "prettier --write . && git add -A ."
23+
}
24+
},
2025
"keywords": [],
2126
"author": "Ashok Dey <ashokdey100@gmail.com> (http://ashokdey.in)",
2227
"license": "MIT",
@@ -29,6 +34,7 @@
2934
"eslint-plugin-prettier": "^4.2.1",
3035
"eslint-plugin-react": "^7.28.0",
3136
"eslint-plugin-react-hooks": "^4.3.0",
37+
"husky": "^8.0.1",
3238
"jest": "^25.0.0"
3339
}
3440
}

0 commit comments

Comments
 (0)