react_in_jsx_scope

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: MIT, MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL