File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,13 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
12
12
* [ ` forbid-component-props ` ] : add ` allowedForPatterns ` /` disallowedForPatterns ` options ([ #3805 ] [ ] @Efimenko )
13
13
* [ ` no-unstable-nested-components ` ] : add ` propNamePattern ` to support custom render prop naming conventions ([ #3826 ] [ ] @danreeves )
14
14
15
+ ### Changed
16
+ * [ readme] flat config example for react 17+ ([ #3824 ] [ ] @GabenGar )
17
+
15
18
[ #3831 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3831
16
19
[ #3830 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3830
17
20
[ #3826 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3826
21
+ [ #3824 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3824
18
22
[ #3805 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3805
19
23
20
24
## [ 7.36.1] - 2024.09.12
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ const reactPlugin = require('eslint-plugin-react');
221
221
module .exports = [
222
222
…
223
223
reactPlugin .configs .flat .recommended , // This is not a plugin object, but a shareable config object
224
+ reactPlugin .configs .flat [' jsx-runtime' ], // Add this if you are using React 17+
224
225
…
225
226
];
226
227
```
You can’t perform that action at this time.
0 commit comments