Skip to content

Commit 28fae4a

Browse files
committed
ignore rules-of-hooks
1 parent 8b7c9bd commit 28fae4a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.oxlintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
}
2020
],
2121
"import/no-duplicates": ["warn", { "prefer-inline": true }],
22-
"react-hooks/rules-of-hooks": "error"
22+
// Disabled for now: oxlint treats any use*()/use() call as a React hook,
23+
// producing false positives in async/test code (testcontainers, cli-v3 e2e).
24+
// Re-enable (ideally scoped to React packages) once those are addressed.
25+
"react-hooks/rules-of-hooks": "off"
2326
}
2427
}

0 commit comments

Comments
 (0)