+6
-2
@@ -32,8 +32,12 @@
|
|||||||
"precommit": "lint-staged"
|
"precommit": "lint-staged"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"./packages/**/*.{js,vue}": [
|
"*.{js,vue}": [
|
||||||
"eslint --fix",
|
"eslint",
|
||||||
|
"git add"
|
||||||
|
],
|
||||||
|
"*.{vue,css}": [
|
||||||
|
"stylelint",
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user