chore(husky): 在pre-commit钩子中添加--allow-empty参数

允许在git commit时即使没有变更也能执行lint-staged
This commit is contained in:
feige996 2025-06-03 20:03:45 +08:00
parent 6bc115cd36
commit 0f9431cf1e

View File

@ -1 +1 @@
npx lint-staged
npx lint-staged --allow-empty