build(test): 配置 Vitest 并调整代码检查范围
- 更新 package.json 中 lint-staged 配置,扩大代码检查范围 - 修改 vitest.config.ts,优化 Vitest 配置参数
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
"knip": "pnpm dlx knip"
|
||||
},
|
||||
"lint-staged": {
|
||||
"{src,e2e/playwright}/**/*.{js,jsx,ts,tsx,vue}": [
|
||||
"{src,e2e}/**/*.{js,jsx,ts,tsx,vue}": [
|
||||
"prettier --write",
|
||||
"eslint --fix",
|
||||
"oxlint --fix"
|
||||
|
Reference in New Issue
Block a user