chore(web): add default frontend oxc tooling (#5585)

- add oxlint and oxfmt configuration for web/default quality checks

- replace ESLint and Prettier scripts with protected-header Oxc formatting

- update frontend workspace dependencies for oxlint and oxfmt
This commit is contained in:
QuentinHsu
2026-06-19 14:58:53 +08:00
committed by GitHub
parent 0c806db996
commit 5b4839fa37
10 changed files with 522 additions and 311 deletions
+27
View File
@@ -0,0 +1,27 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"insertFinalNewline": true,
"jsxSingleQuote": true,
"printWidth": 80,
"quoteProps": "as-needed",
"semi": false,
"singleQuote": true,
"sortImports": true,
"sortPackageJson": true,
"sortTailwindcss": true,
"tabWidth": 2,
"trailingComma": "es5",
"ignorePatterns": [
"node_modules",
"dist",
"build",
"coverage",
".tanstack",
".eslintrc.cjs",
"**/routeTree.gen.ts",
"src/routeTree.gen.ts"
]
}