chore(husky): 在pre-commit钩子中添加--allow-empty参数
允许在git commit时即使没有变更也能执行lint-staged
This commit is contained in:
parent
6bc115cd36
commit
0f9431cf1e
@ -1 +1 @@
|
||||
npx lint-staged
|
||||
npx lint-staged --allow-empty
|
Loading…
x
Reference in New Issue
Block a user