mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 20:15:31 -04:00
5a1636baa3
- Replace Biome with oxlint + oxfmt (OXC toolchain) for linting and formatting - Add .oxlintrc.json and .oxfmtrc.json configuration files - Update VS Code settings and devcontainer to use oxc-vscode extension - Remove contact form, Resend email integration, and related server action/schema - Remove unused UI components (accordion, alert, card, tabs, toggle, etc.)
31 lines
989 B
JSON
31 lines
989 B
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["oxc", "eslint", "typescript", "react", "import", "unicorn", "nextjs", "jsx-a11y"],
|
|
"env": {
|
|
"builtin": true
|
|
},
|
|
"categories": {
|
|
"correctness": "error",
|
|
"suspicious": "warn",
|
|
"perf": "warn"
|
|
},
|
|
"rules": {
|
|
"import/no-named-as-default-member": "off",
|
|
"import/no-unassigned-import": "off",
|
|
"jsx-a11y/anchor-has-content": "off",
|
|
"jsx-a11y/iframe-has-title": "off",
|
|
"jsx-a11y/media-has-caption": "off",
|
|
"no-await-in-loop": "off",
|
|
"no-new": "off",
|
|
"oxc/no-barrel-file": ["warn", { "threshold": 0 }],
|
|
"react/jsx-no-useless-fragment": "error",
|
|
"react/no-array-index-key": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/rules-of-hooks": "error",
|
|
"react/style-prop-object": "off",
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"unicorn/no-array-sort": "off"
|
|
},
|
|
"ignorePatterns": ["node_modules", ".next", ".vercel", "drizzle"]
|
|
}
|