This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 Returning the return value of a hook triggers false positive for useHookAtTopLevel #4483
Closed
1 task done
Labels
Environment information
What happened?
Hooks where the return value of another hook is immediately returned trigger a false positive for
useHookAtTopLevel
.>Rome playground link<
Example:
Expected result
The code should pass the
useHookAtTopLevel
rule as valid.Code of Conduct
The text was updated successfully, but these errors were encountered: