Skip to content
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

ES6 export from source #2143

Closed
leebyron opened this issue Feb 3, 2015 · 3 comments · Fixed by #2144
Closed

ES6 export from source #2143

leebyron opened this issue Feb 3, 2015 · 3 comments · Fixed by #2144

Comments

@leebyron
Copy link
Contributor

leebyron commented Feb 3, 2015

jshint errors when encountering an ES6 export from a source:

export { foo } from "source"

https://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports

@caitp
Copy link
Member

caitp commented Feb 3, 2015

what version?

@caitp
Copy link
Member

caitp commented Feb 3, 2015

and, what error, for that matter

leebyron added a commit to leebyron/jshint that referenced this issue Feb 3, 2015
The ES6 module parsing is incomplete currently. This adds more cases.

Fixes jshint#2118
Fixes jshint#2143
@leebyron
Copy link
Contributor Author

leebyron commented Feb 3, 2015

Latest version and master branch. Error is a silent parse error which surfaces as an undefined identifier.

Hopefully the attached pull helps illustrate.

leebyron added a commit to leebyron/jshint that referenced this issue Feb 3, 2015
The ES6 module parsing is incomplete currently. This adds more cases.

Fixes jshint#2118
Fixes jshint#2143
leebyron added a commit to leebyron/jshint that referenced this issue Feb 3, 2015
The ES6 module parsing is incomplete currently. This adds more cases.

Fixes jshint#2118
Fixes jshint#2143
jugglinmike pushed a commit to jugglinmike/jshint that referenced this issue Feb 23, 2015
The ES6 module parsing is incomplete currently. This adds more cases.

Fixes jshint#2118
Fixes jshint#2143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants