style: 更新lint-staged配置以支持Vue文件
This commit is contained in:
parent
13c166139d
commit
0b4147a15e
@ -73,10 +73,10 @@
|
||||
"prepare": "git init && husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.{html,cjs,json,md,scss,css,txt}": [
|
||||
"**/*.{vue,html,cjs,json,md,scss,css,txt}": [
|
||||
"prettier --write --cache"
|
||||
],
|
||||
"**/*.{vue,js,ts}": [
|
||||
"**/*.{js,ts}": [
|
||||
"oxlint --fix",
|
||||
"prettier --write --cache"
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user