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
eslint@es6jsx crashes on consistent-return with arrow operator #1493
Comments
Yuck, that's no good. Definitely a bug. Currently blocked by: https://github.com/eslint/eslint-tester/issues/11 |
Working on this. |
Fix: Make consistent-return work with arrow functions (fixes #1493)
This seems to be fixed by your commits. |
Has anyone seen this on something other than an arrow function? Because I'm getting on a recent eslint update, and am trying to track down why (and it's pure node javascript, no es6 features). |
@sam-github can you open a new issue? If it's not related to arrow functions, then it's a new issue. |
this code:
crashes:
while this succeeds:
I have ecmascript = 6. in settings
The text was updated successfully, but these errors were encountered: