build: migrate workspace tooling to Oxc
Replace Turbo task orchestration with Bun workspace scripts and remove the Prettier configuration. Add Oxlint and Oxfmt project configuration, including Tailwind class sorting, generated-file exclusions, and unified check/fix commands. Apply the new formatter and resolve Hook dependency errors surfaced by Oxlint.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||
"categories": {
|
||||
"correctness": "error",
|
||||
"perf": "warn",
|
||||
"suspicious": "warn"
|
||||
},
|
||||
"ignorePatterns": [
|
||||
".i18n/**",
|
||||
"**/.output/**",
|
||||
"**/coverage/**",
|
||||
"**/dist/**",
|
||||
"apps/web/src/locales/**/messages.ts",
|
||||
"apps/web/src/route-tree.gen.ts"
|
||||
],
|
||||
"options": {
|
||||
"reportUnusedDisableDirectives": "warn"
|
||||
},
|
||||
"rules": {
|
||||
"react/react-in-jsx-scope": "off",
|
||||
"vitest/expect-expect": "off",
|
||||
"vitest/require-mock-type-parameters": "off"
|
||||
},
|
||||
"plugins": [
|
||||
"eslint",
|
||||
"typescript",
|
||||
"unicorn",
|
||||
"oxc",
|
||||
"react",
|
||||
"import",
|
||||
"vitest"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user