mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
parent
a0602c81d5
commit
8b511dcc7b
@ -32,8 +32,12 @@
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"./packages/**/*.{js,vue}": [
|
||||
"eslint --fix",
|
||||
"*.{js,vue}": [
|
||||
"eslint",
|
||||
"git add"
|
||||
],
|
||||
"*.{vue,css}": [
|
||||
"stylelint",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user