chore: add pre commit hook to lint and tsc the code (#4378)
This commit is contained in:
2
.husky/pre-push
Normal file
2
.husky/pre-push
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
echo "precommit"
|
||||||
|
yarn check-all
|
||||||
@@ -26,6 +26,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
||||||
"eslint": "^8.19.0",
|
"eslint": "^8.19.0",
|
||||||
"eslint-plugin-jest": "^27.4.2",
|
"eslint-plugin-jest": "^27.4.2",
|
||||||
|
"husky": "^9.1.7",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"prettier": "^2.4.1",
|
"prettier": "^2.4.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user