We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd977cf commit 4eb87eaCopy full SHA for 4eb87ea
1 file changed
crates/oxc_linter/src/rules/react/rules_of_hooks.rs
@@ -104,7 +104,7 @@ declare_oxc_lint!(
104
/// <https://reactjs.org/docs/hooks-rules.html>
105
///
106
RulesOfHooks,
107
- nursery
+ correctness
108
);
109
110
impl Rule for RulesOfHooks {
@@ -1228,7 +1228,7 @@ fn test() {
1228
if (a) return;
1229
useHook2();
1230
} while (b);
1231
-
+
1232
do {
1233
useHook3();
1234
if (c) return;
0 commit comments