Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/unclosed-eslint-suppression-skips-all-components.expect.md
T
2026-08-27 21:09:14 +00:00

771 B

Input

// @panicThreshold:"none" @validateExhaustiveMemoizationDependencies:false

// unclosed disable rule should affect all components
/* eslint-disable react-hooks/rules-of-hooks */

function ValidComponent1(props) {
  return <div>Hello World!</div>;
}

function ValidComponent2(props) {
  return <div>{props.greeting}</div>;
}

Code

// @panicThreshold:"none" @validateExhaustiveMemoizationDependencies:false

// unclosed disable rule should affect all components
/* eslint-disable react-hooks/rules-of-hooks */

function ValidComponent1(props) {
  return <div>Hello World!</div>;
}

function ValidComponent2(props) {
  return <div>{props.greeting}</div>;
}

Eval output

(kind: exception) Fixture not implemented