🎨chore: 使用 oxlint, oxfmt&格式化代码

This commit is contained in:
2026-02-08 21:16:25 +08:00
parent 9d35c6a9d8
commit 3a801ba016
78 changed files with 3367 additions and 1468 deletions

16
.oxfmtrc.json Normal file
View File

@@ -0,0 +1,16 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"singleQuote": true,
"jsxSingleQuote": true,
"htmlWhitespaceSensitivity": "ignore",
"printWidth": 80,
"tabWidth": 2,
"bracketSpacing": true,
"semi": false,
"trailingComma": "es5",
"vueIndentScriptAndStyle": false,
"bracketSameLine": false,
"singleAttributePerLine": true,
"experimentalSortPackageJson": false,
"ignorePatterns": []
}