-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
error in the generator-star-spacing rule #6528
Comments
generator-star-spacing
rule
Thanks, @romeovs! ESLint core rules don't support experimental features (async function is still stage 3). You should use the generator-star-spacing that is provided by the eslint-plugin-babel. Let me know if that fixes the problem, and If you have any other questions feel free to drop by our Gitter chatroom and we will be happy to help with anything! |
that fixes it! |
Glad to hear! :) |
I was using async functions to be clear. I can reproduce the bug on this snippet:
but it does not occur on this one:
|
@michaelficarra you're totally right, I just assumed it was since we've had a couple of similar issues these past weeks. Thanks for double-checking! |
Since async/await is now stage 4, should this be reopened? |
@ljharb It's still not implemented in Acorn/Espree, so I think we should hold off till we can actually implant this change. |
Sounds good! Linking to acornjs/acorn#441 and eslint/espree#287 |
What version of ESLint are you using?
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
$ eslint src/
What did you expect to happen?
No error to happen, just lint.
What actually happened? Please include the actual, raw output from ESLint.
Got the error
The text was updated successfully, but these errors were encountered: