feat: 更新 VSCode 配置,添加 oxc 插件,调整 eslint 配置,优化构建和类型检查命令
Some checks failed
/ playwright (push) Failing after 2m19s
/ depcheck (push) Successful in 1m30s
/ build-and-deploy-to-vercel (push) Successful in 1m29s

This commit is contained in:
严浩
2024-12-25 23:44:18 +08:00
parent eed0f4f3f4
commit 49e18facda
12 changed files with 341 additions and 168 deletions

View File

@ -4,6 +4,7 @@
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"simonhe.common-intellisense",
"antfu.file-nesting"
"antfu.file-nesting",
"oxc.oxc-vscode"
]
}

View File

@ -2,6 +2,7 @@
"editor.codeActionsOnSave": {
// "source.fixAll.eslint": "explicit",
// "source.organizeImports": "explicit"
"source.fixAll.oxc": "explicit"
},
"editor.formatOnSave": true,
// "editor.formatOnSaveMode": "modificationsIfAvailable", // 只格式化修改的部分