feat(task3): migrate toolchain to oxfmt + oxlint

- Install oxfmt with .oxfmtrc.json (maps Prettier config)
- Install oxlint with oxlint.config.ts (TypeScript + React rules)
- Replace admin ESLint with oxlint
- Remove Prettier integration from server ESLint (keep ESLint for type checking)
- Delete server .prettierrc and admin eslint.config.js
This commit is contained in:
2026-07-02 15:24:29 +08:00
parent b88a3d8580
commit 73dd92e615
10 changed files with 838 additions and 16572 deletions

View File

@@ -1,7 +1,10 @@
{
"name": "gongxue-base",
"private": true,
"workspaces": ["apps/*", "packages/*"],
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev": "turbo run dev",
"build": "turbo run build",
@@ -10,6 +13,12 @@
"format": "turbo run format",
"typecheck": "turbo run typecheck"
},
"devDependencies": { "turbo": "^2.0.0" },
"dependencies": { "@fission-ai/openspec": "^1.5.0" }
"devDependencies": {
"oxfmt": "^0.57.0",
"oxlint": "^1.72.0",
"turbo": "^2.0.0"
},
"dependencies": {
"@fission-ai/openspec": "^1.5.0"
}
}