dillon1000/react

Commit

refactor(eslint-plugin-react-hooks): move rules to `rules` folder (#32411)

Since the compiler plugin is going to be merged into the hooks plugin,
and ultimately decomposed into several more rules, it would be good to
start creating a more traditional folder structure for the plugin. This
change just moves the rules into a `rules` folder.

Co-authored-by: lauren <[email protected]>
Browse files
Changed paths4 files
First-parent comparison
M packages/eslint-plugin-react-hooks/README.md ModifiedM packages/eslint-plugin-react-hooks/src/index.ts ModifiedR packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.ts →packages/eslint-plugin-react-hooks/src/rules/ExhaustiveDeps.ts RenamedR packages/eslint-plugin-react-hooks/src/RulesOfHooks.ts →packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts Renamed
Patch

Files changed

Rendering syntax-highlighted changes…