Rules
jsx-no-undef
CAUTION
This rule hasn’t been released yet. If you want to try it, you can install the beta
version of the plugin.
Full Name in eslint-plugin-react-x
Full Name in @eslint-react/eslint-plugin
Presets
core
recommended
Description
This rule is used to prevent the use of undefined variables in JSX. It checks for any undefined variables in the JSX code and reports them as errors.