Skip to content

chore: add eslint config for react hooks #188

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

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Jun 17, 2020

What:
Add eslint plugin for react-hooks

Why:
To ensure best practices in declaring hook dependencies.

How:
Install eslint-plugin-react-hooks, and add the react-hooks:recommended plugin to the eslint config.

Checklist:

  • Tests
  • Ready to be merged

@smeijer smeijer self-assigned this Jun 17, 2020
@smeijer smeijer added the chore label Jun 17, 2020
@smeijer smeijer merged commit cbc8765 into develop Jun 17, 2020
@smeijer smeijer deleted the feature/add-eslint-plugin-react-hooks branch June 17, 2020 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants