> For AI agents: the complete documentation index is available at https://rslint.rs/llms.txt, the full documentation bundle is available at https://rslint.rs/llms-full.txt.

# react-in-jsx-scope

[Added in v0.3.0](https://github.com/web-infra-dev/rslint/releases/tag/v0.3.0)
## Configuration

| Preset                            | Configured Value |
| --------------------------------- | ---------------- |
| ✅ reactPlugin.configs.recommended | `"error"`        |


```ts title=rslint.config.ts
import { defineConfig, reactPlugin } from '@rslint/core';

export default defineConfig([
  reactPlugin.configs.recommended,
  {
    rules: {
      'react/react-in-jsx-scope': 'error',
    },
  },
]);
```

## Rule Details

Prevent missing React import when using JSX. This rule is implemented as a no-op in rslint because the TypeChecker already handles JSX scope validation.

## Original Documentation

- [eslint-plugin-react: react-in-jsx-scope](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.37.5/docs/rules/react-in-jsx-scope.md)
- [Source code](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.37.5/lib/rules/react-in-jsx-scope.js)
