This commit is contained in:
huzhushan 2021-04-19 19:15:47 +08:00
parent 73918f0b0f
commit d5cfa5f7c8

View File

@ -47,7 +47,8 @@
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "npm run lint-staged" "pre-commit": "npm run lint-staged",
"precommit": "npm run lint-staged"
} }
}, },
"lint-staged": { "lint-staged": {