Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReactInJsxScopeRule = rule.Rule{ Name: "react/react-in-jsx-scope", Run: func(ctx rule.RuleContext, options any) rule.RuleListeners { return rule.RuleListeners{} }, }
ReactInJsxScopeRule ensures React is in scope when using JSX.
This rule is implemented as a no-op because it depends on ESLint's scope analysis. In rslint with TypeChecker, TypeScript already catches missing React imports via ts(2304) "Cannot find name 'React'", making this rule redundant.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.