Skip to content

Commit 4e5f1fb

Browse files
committed
chore(env): Fix when commiting to run tests and not check types wrongly
1 parent 4ac7c87 commit 4e5f1fb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.huskyrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"hooks": {
3-
"pre-commit": "lint-staged"
3+
"pre-commit": "npm i && lint-staged && npm run test"
44
}
55
}

.lintstagedrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"**/*.{ts,js}": ["tsc --noEmit"],
32
"**/*.{ts,js,json}": ["eslint --fix"],
43
"**/*.{md,yml,yaml}": ["prettier --write"]
54
}

0 commit comments

Comments
 (0)