File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 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
1212* [ ` forbid-component-props ` ] : add ` allowedForPatterns ` /` disallowedForPatterns ` options ([ #3805 ] [ ] @Efimenko )
1313* [ ` no-unstable-nested-components ` ] : add ` propNamePattern ` to support custom render prop naming conventions ([ #3826 ] [ ] @danreeves )
1414
15+ ### Changed
16+ * [ readme] flat config example for react 17+ ([ #3824 ] [ ] @GabenGar )
17+
1518[ #3831 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3831
1619[ #3830 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3830
1720[ #3826 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3826
21+ [ #3824 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3824
1822[ #3805 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3805
1923
2024## [ 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');
221221module .exports = [
222222 …
223223 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+
224225 …
225226];
226227```
You can’t perform that action at this time.
0 commit comments