mirror of
https://github.com/youzan/vant.git
synced 2026-03-06 02:06:58 +08:00
@@ -32,8 +32,12 @@
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"./packages/**/*.{js,vue}": [
|
||||
"eslint --fix",
|
||||
"*.{js,vue}": [
|
||||
"eslint",
|
||||
"git add"
|
||||
],
|
||||
"*.{vue,css}": [
|
||||
"stylelint",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user