react/fixtures/eslint-v9
lauren 848e0e3a4f
[eprh] Update plugin config to be compatible with flat and legacy (#34762)
This has been incredibly frustrating as [ESLint's own
docs](https://eslint.org/docs/latest/extend/plugins#backwards-compatibility-for-legacy-configs)
are clearly wrong (see #34679).

This PR uses [eslint-plugin-react's
setup](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/index.js)
as a reference, where the presets are assigned to `configs.flat` (not
documented by eslint).
2025-10-07 16:23:56 -04:00
..
build.mjs Update eslint fixtures (#32589) 2025-03-12 19:07:51 -04:00
eslint.config.ts [eprh] Update plugin config to be compatible with flat and legacy (#34762) 2025-10-07 16:23:56 -04:00
index.js [eprh] Fix recommended config for flat config compatibility (#34700) 2025-10-02 18:52:52 -04:00
package.json [eprh] Fix config type not being exported correctly (#34746) 2025-10-06 00:53:21 -04:00
README.md test(eslint): create eslint test fixtures (#32396) 2025-02-16 13:23:44 -05:00
tsconfig.json [eprh] Fix config type not being exported correctly (#34746) 2025-10-06 00:53:21 -04:00
yarn.lock [eprh] Fix config type not being exported correctly (#34746) 2025-10-06 00:53:21 -04:00

ESLint v9 Fixture

This fixture allows us to test e2e functionality for eslint-plugin-react-hooks with eslint version 9.

Run the following to test.

cd fixtures/eslint-v9
yarn
yarn build
yarn lint