biild: update hooks

This commit is contained in:
Qiuxia Fan 2021-12-21 15:01:00 +08:00
parent 48037cb290
commit 2f6853e151

View File

@ -101,7 +101,7 @@
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx.vue}": [
"*.{js,jsx,ts,tsx,vue}": [
"eslint --fix",
"prettier --write"
],
@ -111,11 +111,6 @@
"package.json": [
"prettier --write"
],
"*.vue": [
"eslint --fix",
"prettier --write",
"stylelint --fix"
],
"*.{scss,less,styl,html}": [
"stylelint --fix",
"prettier --write"