react/fixtures/eslint-v8
michael faith 5ccfcd17ff
feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416)
This change merges the `react-compiler` rule from
`eslint-plugin-react-compiler` into the `eslint-plugin-react-hooks`
plugin. In order to do the move in a way that keeps commit history with
the moved files, but also no remove them from their origin until a
future cleanup change can be done, I did the `git mv` first, and then
recreated the files that were moved in their original places, as a
separate commit. Unfortunately GH shows the moved files as new instead
of the ones that are truly new. But in the IDE and `git blame`, commit
history is intact with the moved files.

Since this change adds new dependencies, and one of those dependencies
has a higher `engines` declaration for `node` than what the plugin
currently has, this is technically a breaking change and will have to go
out as part of a major release.

### Related Changes
- https://github.com/facebook/react/pull/32458

---------

Co-authored-by: Lauren Tan <poteto@users.noreply.github.com>
2025-03-12 21:43:06 -04:00
..
.eslintrc.json test(eslint): create eslint test fixtures (#32396) 2025-02-16 13:23:44 -05:00
build.mjs Update eslint fixtures (#32589) 2025-03-12 19:07:51 -04:00
index.js test(eslint): create eslint test fixtures (#32396) 2025-02-16 13:23:44 -05:00
package.json ci: add workflow for running the eslint plugin e2e tests (#32397) 2025-02-16 17:00:43 -05:00
README.md test(eslint): create eslint test fixtures (#32396) 2025-02-16 13:23:44 -05:00
yarn.lock feat(eslint-plugin-react-hooks): merge rule from eslint-plugin-react-compiler into react-hooks plugin (#32416) 2025-03-12 21:43:06 -04:00

ESLint v8 Fixture

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

Run the following to test.

cd fixtures/eslint-v8
yarn
yarn build
yarn lint