Skip to content
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

add react hooks eslint plugin #3059

Merged
merged 5 commits into from Aug 5, 2020
Merged

Conversation

tessalt
Copy link
Contributor

@tessalt tessalt commented Jul 31, 2020

What does this PR do?

adds an eslint plugin to enforce hooks rules, some of which are weird and cause unexpected runtime errors like the one fixed in #3057. Plugin does catch this issue:

Screen Shot 2020-07-31 at 10 47 59 AM

What changes to the GraphQL/Database Schema does this PR introduce?

none

@tessalt tessalt requested a review from wyattjoh July 31, 2020 14:50
@kgardnr kgardnr modified the milestones: v6.4.0, v6.3.2 Jul 31, 2020
.eslintrc.js Outdated Show resolved Hide resolved
@wyattjoh wyattjoh modified the milestones: v6.3.2, v6.4.0 Aug 4, 2020
@tessalt tessalt force-pushed the feature/add-hooks-eslint-rule branch from ba0c7bf to 06024e1 Compare August 4, 2020 16:07
@tessalt tessalt requested a review from wyattjoh August 4, 2020 16:08
@wyattjoh wyattjoh modified the milestones: v6.4.0, v6.3.2 Aug 4, 2020
@tessalt tessalt force-pushed the feature/add-hooks-eslint-rule branch from d71b30b to dbe29fc Compare August 4, 2020 17:20
@wyattjoh wyattjoh added the 🚀 merge it! Pull requests that should be merged after status checks pass with a review label Aug 4, 2020
@kodiakhq kodiakhq bot merged commit 0f1dd7d into master Aug 5, 2020
@kodiakhq kodiakhq bot deleted the feature/add-hooks-eslint-rule branch August 5, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 merge it! Pull requests that should be merged after status checks pass with a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants