dillon1000/react

Commit

Add lint tests that should fail (#28147)

These though fail.

Anon default export: https://github.com/facebook/react/issues/21181
Promise callbacks: https://github.com/facebook/react/issues/26186
Returning anon functions: https://github.com/facebook/react/issues/22520
Browse files
Changed paths1 file
First-parent comparison
M packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…