Skip to content

Commit 8ed88a4

Browse files
committed
🔧 fix test:staged hook
1 parent 73c7504 commit 8ed88a4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.husky/pre-commit

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
npx lint-staged
5-
npm run test:staged

.lintstagedrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"*.{js,ts}": "eslint --cache --fix",
2+
"*.{js,ts}": ["eslint --cache --fix", "vitest related --run"],
33
"*.{js,css,md,ts}": "prettier --write",
44
}

0 commit comments

Comments
 (0)