chore: test git hooks

This commit is contained in:
程沛权 2021-06-15 15:27:47 +08:00
parent e718db556d
commit 03077c8e3e

View File

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