chore: 迁移 lint/format 工具链 ESLint+Prettier → oxlint+oxfmt

This commit is contained in:
2026-06-06 00:57:55 +08:00
parent 3f88e33bd1
commit 121c6f764f
45 changed files with 625 additions and 1004 deletions

18
.oxfmtrc.json Normal file
View File

@@ -0,0 +1,18 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"printWidth": 120,
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf",
"tabWidth": 2,
"useTabs": false,
"sortPackageJson": false,
"sortImports": {
"partitionByNewline": true,
"newlinesBetween": false
},
"ignorePatterns": ["openspec/**", "bun.lock", "bin/**", "eslint-rules/**", "skills-lock.json"]
}