Warnings into a single message per hook #4702
Unanswered
KarimElSamarji
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve noticed that when useEffect is missing multiple dependencies, Biome flags each missing dependency as a separate error. While I understand the importance of thorough dependency checks, seeing the same issue flagged multiple times in the same useEffect can be overwhelming, especially for large projects.
Would it be possible to consolidate these warnings into a single message per hook, perhaps listing all missing dependencies at once? Alternatively, is there a recommended way to handle this situation without globally suppressing the hooks/specific-dependencies rule?
Beta Was this translation helpful? Give feedback.
All reactions