dillon1000/react

Commit

[eslint-plugin-react-hooks] Inline meta fields (#32115)

rollup doesn't inline cjs requires (although it can with an external
plugin), so requiring package.json was causing issues internally at Meta
since that file doesn't exist there.

We could teach our build scripts to do so but given that the eslint meta
field is optional anyways I opted to just hardcode the name and omit the
version.
Browse files
Changed paths1 file
First-parent comparison
M packages/eslint-plugin-react-hooks/src/index.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…