mirror of
https://github.com/hanzoai/sign.git
synced 2026-10-21 01:21:51 +00:00
eslint-config-next went from 15 to 16 in the version sweep and took eslint-plugin-react-hooks from 5 to 7. Next spreads the plugin's recommended set, and 7's set is the two rules of hooks plus twelve React Compiler checks at error. Nothing in the lint config asked for them; they arrived with the bump and failed 39 places in packages/lib and packages/ui that were written before the compiler, 24 of them setState in an effect and 11 a ref read during render. Making those pass means reworking when components render, and nothing here can test that: there is no DOM in the test runners. So the compiler's checks report as warnings — listed on every run, blocking nothing — and the rules of hooks stay errors. react-hooks.test.cjs resolves the shipped config for a component file and holds both; without the new entry it fails on set-state-in-effect. Co-authored-by: Hanzo Dev <[email protected]>