bf
This commit is contained in:
parent
ae46aeb424
commit
89aa50455e
@ -1,2 +1 @@
|
|||||||
pnpm run format
|
npx lint-staged
|
||||||
pnpm run lint
|
|
||||||
10
package.json
10
package.json
@ -46,6 +46,14 @@
|
|||||||
"unplugin-vue-define-options": "^1.4.1",
|
"unplugin-vue-define-options": "^1.4.1",
|
||||||
"vite": "4.5.3",
|
"vite": "4.5.3",
|
||||||
"vite-plugin-cdn-import": "0.3.5"
|
"vite-plugin-cdn-import": "0.3.5"
|
||||||
|
},
|
||||||
|
"lint-staged": {
|
||||||
|
"*.{js,ts,vue,jsx,tsx}": [
|
||||||
|
"eslint --fix",
|
||||||
|
"prettier --write"
|
||||||
|
],
|
||||||
|
"*.{scss,less,styl,html}": [
|
||||||
|
"prettier --write"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user