Skip to content

Commit f20fd24

Browse files
committed
Remove unnecessary test execution from the pre-commit hook and delete the root script
1 parent aa48128 commit f20fd24

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎.husky/pre-commit‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
echo "Formatting files before commit..."
22
npx lint-staged
3-
echo "Running tests..."
4-
pnpm test

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"lint-staged": "^15.2.10"
88
},
99
"scripts": {
10-
"prepare": "husky",
11-
"test": "pnpm -r test"
10+
"prepare": "husky"
1211
},
1312
"lint-staged": {
1413
"*.{ts,tsx,json,css,scss,md}": [

0 commit comments

Comments
 (0)