Skip to content

Commit 60340f8

Browse files
committed
update docs
1 parent 2692c07 commit 60340f8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,13 @@ The schema of the `settings.react` object would be identical to that of what's a
205205
<!-- markdownlint-disable-next-line no-duplicate-heading -->
206206
### Flat Configs
207207

208-
The flat configs are available via the root plugin import. They will configure the plugin under the `react/` namespace and enable JSX in [`languageOptions.parserOptions`](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#configuration-objects).
208+
This plugin exports 3 flat configs.
209+
210+
- `flat/all`
211+
- `flat/recommended`
212+
- `flat/jsx-runtime`
213+
214+
The flat configs are available via the root plugin import. They will configure the plugin under the `react/` namespace and enable JSX in [`languageOptions.parserOptions`](https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options).
209215

210216
```js
211217
const reactPlugin = require('eslint-plugin-react');

0 commit comments

Comments
 (0)