mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 07:30:53 +00:00
perf(cli): replace lint-staged with nano-staged (#10778)
This commit is contained in:
@@ -47,7 +47,7 @@ Please add the followed config to `package.json` file.
|
||||
"release": "vant-cli release",
|
||||
"build-site": "vant-cli build-site"
|
||||
},
|
||||
"lint-staged": {
|
||||
"nano-staged": {
|
||||
"*.md": "prettier --write",
|
||||
"*.{ts,tsx,js,vue,less,scss}": "prettier --write",
|
||||
"*.{ts,tsx,js,vue}": "eslint --fix",
|
||||
|
Reference in New Issue
Block a user