feat: ✨ 修改校验配置1
Showing
... | @@ -104,6 +104,12 @@ | ... | @@ -104,6 +104,12 @@ |
"management-system" | "management-system" | ||
], | ], | ||
"license": "MIT", | "license": "MIT", | ||
"husky": { | |||
"hooks": { | |||
"pre-commit": "lint-staged", | |||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | |||
} | |||
}, | |||
"lint-staged": { | "lint-staged": { | ||
"src/**/*.{js,vue}": [ | "src/**/*.{js,vue}": [ | ||
"eslint --fix", | "eslint --fix", | ||
... | ... |
Please register or sign in to comment