chore: test git hooks

This commit is contained in:
程沛权 2021-06-15 15:33:57 +08:00
parent fc0b4a7590
commit 3ad117891b

View File

@ -53,8 +53,10 @@
"tslib": "^2.0.1", "tslib": "^2.0.1",
"typescript": "^4.0.2" "typescript": "^4.0.2"
}, },
"gitHooks": { "husky": {
"hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
}
}, },
"lint-staged": { "lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [ "*.{js,jsx,vue,ts,tsx}": [