mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
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). |
||
|---|---|---|
| .. | ||
| build.mjs | ||
| eslint.config.ts | ||
| index.js | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
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