-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
TypeError: Cannot read property 'name' of undefined (plus infinite loop?) #1928
Comments
Sorry, I should also mention that I also upgraded |
@kaiyoma sorry for causing this. Is there a place in your code where you do something like Component.propTypes.foo = ... ? |
Not that exactly, but I think I found the file causing the issue. We have a very thin wrapper around a third-party component and the linter throws that same error every time I lint this file:
|
Thanks, that’s very helpful. Will try to fix ASAP. |
It looks like this is only failing with ESLint 5. @kaiyoma if necessary, you can try reverting to ESLint 4 in the meantime. |
@alexzherdev yes, i think a patch would be ideal. Happy to review a PR asap. |
Today I tried upgrading to the newest
eslint
and the newesteslint-config-airbnb
. Now when I try linting my codebase, I seem to get this error over and over in an infinite loop:I'm not sure what code is causing this because the filename isn't being printed out. Let me know if you need more info and I'll gladly help out.
The text was updated successfully, but these errors were encountered: