Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

🐛 nursery/useHookAtTopLevel false positive when accessing properties directly from a hook #4637

Closed
1 task done
Aetherall opened this issue Jun 30, 2023 · 1 comment · Fixed by #4645
Closed
1 task done
Assignees
Labels
A-Linter Area: linter S-Bug: confirmed Status: report has been confirmed as a valid bug

Comments

@Aetherall
Copy link

Aetherall commented Jun 30, 2023

Environment information

playground

What happened?

playground

image

Expected result

should pass

Code of Conduct

  • I agree to follow Rome's Code of Conduct
@Aetherall Aetherall added the S-To triage Status: user report of a possible bug that needs to be triaged label Jun 30, 2023
@Aetherall
Copy link
Author

Aetherall commented Jun 30, 2023

Another false positive :

playground

image

@ematipico ematipico added S-Bug: confirmed Status: report has been confirmed as a valid bug A-Linter Area: linter and removed S-To triage Status: user report of a possible bug that needs to be triaged labels Jun 30, 2023
@nissy-dev nissy-dev self-assigned this Jul 2, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Linter Area: linter S-Bug: confirmed Status: report has been confirmed as a valid bug
Projects
None yet
3 participants