Skip to content

Commit 2607059

Browse files
devmgnclaude
andcommitted
fix(lint): remove react-compiler rules deleted in eslint-plugin-react-hooks v7.1.0
`automatic-effect-dependencies` and `component-hook-factories` were removed from the plugin in v7.1.0, causing oxlint to fail parsing the config. Drop both rules so `pnpm check` passes with the new version. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 7a634b8 commit 2607059

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

oxlint.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,7 @@ export default defineConfig({
158158
"@tanstack/query/stable-query-client": "error",
159159

160160
// ── react-compiler-rules (jsPlugin: eslint-plugin-react-hooks) ──
161-
"react-compiler-rules/automatic-effect-dependencies": "error",
162161
"react-compiler-rules/capitalized-calls": "error",
163-
"react-compiler-rules/component-hook-factories": "error",
164162
"react-compiler-rules/config": "error",
165163
"react-compiler-rules/error-boundaries": "error",
166164
"react-compiler-rules/gating": "error",

0 commit comments

Comments
 (0)