-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Support ES6 modules (import+export declarations) #35
Comments
+1 |
ES6 progress is being tracked here: #10 |
Oops, hit enter too soon. We will be adding each ES6 feature from Esprima piece by piece. Module will likely be last unless someone submits a PR. |
Well, there's not even a bullet point for it in #10's checklist currently. |
Thanks, I just added it. |
@nzakas I can probably take care of the modules grammar as I did for esprima a while ago. |
👍 |
1 similar comment
👍 |
😍 |
@caridy awesome, we'd appreciate the contribution. |
ok, I got a chance to put some time on this last night, and a questions arise: In esprima, we introduced In espree, it seems that |
I think having So +1 to your proposal. |
* import grammar * export grammar * option scriptType=module
Interested too by import/export support in espree :) |
👍 |
👍 This is awesome. When can we expect it to get published to npm? |
When the work has been done. :) I appreciate everyone's enthusiasm, but there's no need for additional +1ing. We're doing our best to get this done and this issue will be closed when the work is complete. |
You're awesome <3 |
Does eslint-babel can help in this issue? |
+1 |
fixes #35: adds module import and export grammar
@ai, eslint-babel doesn't support it properly either. Given: import foo as 'foo';
foo.bar(); currently results in:
|
Refs #10. Esprima
harmony
already supports this.The text was updated successfully, but these errors were encountered: