fix: 更新 lint-staged 配置,支持 .tsx 文件格式
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
"knip": "pnpm dlx knip"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{js,ts,vue}": [
|
||||
"src/**/*.{js,ts,tsx,vue}": [
|
||||
"prettier --write",
|
||||
"eslint --fix"
|
||||
]
|
||||
|
Reference in New Issue
Block a user