Skip to content

Commit c3abc3d

Browse files
authored
ci(hooks): remove lint-staged in git hook. (#743) close #724
1 parent a013ea2 commit c3abc3d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
"eslint": "9.22.0",
9090
"eslint-plugin-vue": "10.0.0",
9191
"kolorist": "1.8.0",
92-
"lint-staged": "15.5.0",
9392
"sass": "1.86.0",
9493
"simple-git-hooks": "2.11.1",
9594
"tsx": "4.19.3",
@@ -105,10 +104,7 @@
105104
},
106105
"simple-git-hooks": {
107106
"commit-msg": "pnpm sa git-commit-verify",
108-
"pre-commit": "pnpm typecheck && pnpm lint-staged"
109-
},
110-
"lint-staged": {
111-
"*": "eslint --fix"
107+
"pre-commit": "pnpm typecheck && pnpm lint && git diff --exit-code"
112108
},
113109
"website": "https://admin.soybeanjs.cn"
114110
}

0 commit comments

Comments
 (0)