Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/unclosed-eslint-suppression-skips-all-components.expect.md
T

39 lines
771 B
Markdown
Raw Normal View History

2026-08-27 21:09:14 +00:00
## Input
```javascript
// @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
```javascript
// @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