-
Notifications
You must be signed in to change notification settings - Fork 48.6k
ESlint plugin is broken on 7.32.0 - Missing hasSuggestions #22051
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
Conversation
Hi @dannyvassallo! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
Comparing: ecd73e1...dc0f42d Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@bvaughn sorry to ping you directly but is there something I need to do to improve this PR or get a review? It's becoming an issue for my team and I'd hate to have to rollback our ESlint update. Thank you so much for your time! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@gaearon would be the best person to review this so I'm going to tag him. If he doesn't have time, I can take a stab at it. I just don't have much context. |
Thank you both! |
@gaearon It turns out we were using a branch on ESLint that introduced this bug. I can remove the version updates to ESLint here and leave just the Additionally I can add this rule: https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/docs/rules/require-meta-has-suggestions.md Please let me know how I can be of assistance. Thank you! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Summary
I kept hitting this error after upgrading to ESlint 7.32.0 whenever reaching a hook that had a suggestion.
Test Plan
I've updated the meta entry and used it in my own project. Lint completes successfully.
I've also updated the Eslint version in this project.