mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
perf(cli): replace lint-staged with nano-staged (#10778)
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
"author": "",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"pre-commit": "nano-staged",
|
||||
"commit-msg": "vant-cli commit-lint"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"nano-staged": {
|
||||
"*.{ts,tsx,js,jsx,vue}": "eslint --fix",
|
||||
"*.{vue,css,less,scss}": "stylelint --fix"
|
||||
},
|
||||
|
Reference in New Issue
Block a user