Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(linter):
jest/prefer-hooks-in-order
: improve diagnostic me…
…ssages (#6036) In the previous PR, I added an additional span that allows us to actually point to the prior hook function that the hook should be moved above. I've updated the error messages to hopefully be a little bit more helpful in explaining what to do.
- Loading branch information