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:
Vendored
+27
@@ -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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user