git hooks test

This commit is contained in:
chenkl 2021-01-07 08:53:58 +08:00
parent 216be1cbc5
commit 9699dadb0d
2 changed files with 2 additions and 3 deletions

View File

@ -83,8 +83,7 @@
}, },
"lint-staged": { "lint-staged": {
"src/**/*.{js,ts,vue}": [ "src/**/*.{js,ts,vue}": [
"eslint --fix", "vue-cli-service lint"
"git add"
] ]
}, },
"husky": { "husky": {