-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eslint-plugin-react-hooks #99
Comments
Is there a tslint version of this? |
There is a temporary solution from tslint-react which is a package for tslint and from the same developers at palantir/tslint-react#186 (comment) I think the solution does need tslint-react but i haven't tested it yet. |
rather than setting up eslint for typescript, I think I'll just wait until tslint supports it |
@benawad Take a look at a TSLint rule that detects possible misuses of hooks: https://github.com/Gelio/tslint-react-hooks Disclaimer: I am the author. I noticed this issue referenced in another repo, so I thought I would let you know that you may try using that rule 🙂 I am looking for feedback 😄 |
I think that eslint-plugin-react-hooks is not used yet in this project. Since codeponder is using react hooks, I would be interesting to add them as they are part of the hooks proposal.
https://www.npmjs.com/package/eslint-plugin-react-hooks
The text was updated successfully, but these errors were encountered: