@@ -585,15 +585,15 @@ source: crates/oxc_linter/src/tester.rs
585585 · ──────────
586586 ╰────
587587
588- ⚠ eslint-plugin-react-hooks(rules -of -hooks ): message : ` React Hook " AsyncComponent" cannot be called in an async function .
588+ ⚠ eslint-plugin-react-hooks(rules -of -hooks ): React Hook " AsyncComponent" cannot be called in an async function .
589589 ╭─[rules_of_hooks.tsx:2:32]
590590 1 │
591591 2 │ async function AsyncComponent() {
592592 · ──────────────
593593 3 │ useState ();
594594 ╰────
595595
596- ⚠ eslint - plugin - react - hooks (rules - of - hooks ): message : ` React Hook "Anonymous" cannot be called in an async function.
596+ ⚠ eslint - plugin - react - hooks (rules - of - hooks ): React Hook " Anonymous" cannot be called in an async function .
597597 ╭─[rules_of_hooks.tsx:2:40]
598598 1 │
599599 2 │ ╭─▶ const AsyncComponent = async () => {
@@ -602,23 +602,23 @@ source: crates/oxc_linter/src/tester.rs
602602 5 │
603603 ╰────
604604
605- ⚠ eslint-plugin-react-hooks(rules-of-hooks): message: ` React Hook " Page" cannot be called in an async function .
605+ ⚠ eslint - plugin - react - hooks (rules - of - hooks ): React Hook " Page" cannot be called in an async function .
606606 ╭─[rules_of_hooks.tsx:2:32]
607607 1 │
608608 2 │ async function Page() {
609609 · ────
610610 3 │ useId ();
611611 ╰────
612612
613- ⚠ eslint - plugin - react - hooks (rules - of - hooks ): message : ` React Hook "Page" cannot be called in an async function.
613+ ⚠ eslint - plugin - react - hooks (rules - of - hooks ): React Hook " Page" cannot be called in an async function .
614614 ╭─[rules_of_hooks.tsx:2:32]
615615 1 │
616616 2 │ async function Page() {
617617 · ────
618618 3 │ useId ();
619619 ╰────
620620
621- ⚠ eslint - plugin - react - hooks (rules - of - hooks ): message : ` React Hook "useAsyncHook" cannot be called in an async function.
621+ ⚠ eslint - plugin - react - hooks (rules - of - hooks ): React Hook " useAsyncHook" cannot be called in an async function .
622622 ╭─[rules_of_hooks.tsx:2:32]
623623 1 │
624624 2 │ async function useAsyncHook() {
@@ -682,7 +682,7 @@ source: crates/oxc_linter/src/tester.rs
682682 5 │ }
683683 ╰────
684684
685- ⚠ eslint - plugin - react - hooks (rules - of - hooks ): message : ` React Hook "AsyncComponent" cannot be called in an async function.
685+ ⚠ eslint - plugin - react - hooks (rules - of - hooks ): React Hook " AsyncComponent" cannot be called in an async function .
686686 ╭─[rules_of_hooks.tsx:2:28]
687687 1 │
688688 2 │ async function AsyncComponent() {
0 commit comments