orca/oxlintrc.json
Neil 2d9df606c6 Replace eslint/prettier with oxlint/oxfmt, add pre-commit hooks
Swap out eslint + 6 plugins for oxlint and prettier for oxfmt (oxc toolchain).
Set up husky + lint-staged to run linter and formatter on pre-commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 20:38:27 -07:00

23 lines
880 B
JSON

{
"$schema": "https://raw.githubusercontent.com/nicolo-ribaudo/oxc-project.github.io/refs/heads/json-schemas/oxlint/v0.17.0/config.json",
"plugins": ["typescript", "react", "react-hooks", "react-perf"],
"categories": {
"correctness": "error"
},
"rules": {
"react/jsx-no-duplicate-props": "error",
"react/jsx-no-undef": "error",
"react/jsx-uses-vars": "error",
"react/no-children-prop": "error",
"react/no-danger-with-children": "error",
"react/no-direct-mutation-state": "error",
"react/no-find-dom-node": "error",
"react/no-render-return-value": "error",
"react/no-string-refs": "error",
"react/no-unescaped-entities": "error",
"react/require-render-return": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"ignorePatterns": ["**/node_modules", "**/dist", "**/out"]
}