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,22 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||
"endOfLine": "lf",
|
||||
"ignorePatterns": [
|
||||
".i18n/**",
|
||||
"**/.output/**",
|
||||
"**/coverage/**",
|
||||
"**/dist/**",
|
||||
"apps/web/src/locales/**/messages.ts",
|
||||
"apps/web/src/route-tree.gen.ts"
|
||||
],
|
||||
"printWidth": 80,
|
||||
"semi": false,
|
||||
"singleQuote": false,
|
||||
"sortPackageJson": false,
|
||||
"sortTailwindcss": {
|
||||
"functions": ["cn", "cva"],
|
||||
"stylesheet": "./packages/ui/src/styles/globals.css"
|
||||
},
|
||||
"tabWidth": 2,
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
Reference in New Issue
Block a user