Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JsxUsesVarsRule = rule.Rule{ Name: "react/jsx-uses-vars", Run: func(ctx rule.RuleContext, options any) rule.RuleListeners { return rule.RuleListeners{} }, }
JsxUsesVarsRule is a no-op in rslint.
In ESLint, this rule prevents variables used in JSX from being marked as unused by the no-unused-vars rule, since ESLint does not natively understand JSX component references. In rslint, the TypeScript type checker already tracks all JSX references and correctly marks variables as used, so this rule is unnecessary. It exists only for configuration compatibility.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.