Most comprehensive eslint-plugin-react-hooks
config?
#71
Unanswered
JeremyGoodwinKaizen
asked this question in
General Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have been using react-compiler since the end of last year using the
eslint-plugin-react-compiler
plugin. I have seen now that this plugin has been merged in to the eslint hooks plugin and am looking for configuration advice.Using the old eslint plugin, and info from this discussion #24 (comment) my config looks like this:
This config produces very strict results, including when the compiler cannot understand the code and has bailed out. (Mainly I had to change some of my for loops to forEach callbacks).
I really like knowing if my components have been compiled properly and am happy to modify my code if the compiler cannot work with my code patterns.
My question is, is there a similar config available for the new eslint hook plugin?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions