You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cool to add eslint-plugin-react-hooks, which is the official plugin by the React team to enforce the 'rules of Hooks'. Seeing as it will be added to Create React App soon, I would like to see it in Healthier too.
This shouldn't be a breaking change, since it only applies to projects using Hooks anyways and is a relatively unopiniated enforcement of the rules that are present in the React docs too.
If you approve of this change, I will work on a PR for it.
The text was updated successfully, but these errors were encountered:
I need to reread those myself, but I just want to ensure that healthier, just like standard, doesn't break in non React environments. E.g. if someone's using jsx with Preact or any other library, you shouldn't get issues flagged that are only relevant for React.
So one thing we talked about was detecting if you have react installed.
Actually, in the meantime, we can just keep this in healthier/react config. Maybe that's what you had in mind? So yes, let's definitely add plugin-react-hooks into healthier/react.
It would be cool to add
eslint-plugin-react-hooks
, which is the official plugin by the React team to enforce the 'rules of Hooks'. Seeing as it will be added to Create React App soon, I would like to see it in Healthier too.This shouldn't be a breaking change, since it only applies to projects using Hooks anyways and is a relatively unopiniated enforcement of the rules that are present in the React docs too.
If you approve of this change, I will work on a PR for it.
The text was updated successfully, but these errors were encountered: