chore: 迁移 lint/format 工具链 ESLint+Prettier → oxlint+oxfmt
This commit is contained in:
18
.oxfmtrc.json
Normal file
18
.oxfmtrc.json
Normal 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"]
|
||||
}
|
||||
Reference in New Issue
Block a user