39 lines
771 B
Markdown
39 lines
771 B
Markdown
|
|
## 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 |