chore(config): 更新格式化和 lint 配置,格式化部分文件

This commit was merged in pull request #10.
This commit is contained in:
2026-02-10 02:03:35 +08:00
parent 3c98ee0d47
commit 2c4951ff9b
7 changed files with 37 additions and 38 deletions

10
.vscode/settings.json vendored
View File

@@ -1,12 +1,14 @@
{
"oxc.fmt.configPath": ".oxfmtrc.json",
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.oxc": "always"
},
// "editor.codeActionsOnSave": {
// "source.fixAll.oxc": "always"
// },
"typescript.tsdk": "node_modules\\typescript\\lib",
"[typescript]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"[json]": {
"editor.defaultFormatter": "oxc.oxc-vscode"
}
}