mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-01 18:03:38 +00:00
biild: update hooks
This commit is contained in:
parent
48037cb290
commit
2f6853e151
@ -101,7 +101,7 @@
|
|||||||
"pre-commit": "lint-staged"
|
"pre-commit": "lint-staged"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,jsx,ts,tsx.vue}": [
|
"*.{js,jsx,ts,tsx,vue}": [
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
],
|
],
|
||||||
@ -111,11 +111,6 @@
|
|||||||
"package.json": [
|
"package.json": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
],
|
],
|
||||||
"*.vue": [
|
|
||||||
"eslint --fix",
|
|
||||||
"prettier --write",
|
|
||||||
"stylelint --fix"
|
|
||||||
],
|
|
||||||
"*.{scss,less,styl,html}": [
|
"*.{scss,less,styl,html}": [
|
||||||
"stylelint --fix",
|
"stylelint --fix",
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
|
Loading…
Reference in New Issue
Block a user