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

Cannot read property 'name' of undefined #317

Closed
borisyankov opened this issue May 8, 2016 · 2 comments
Closed

Cannot read property 'name' of undefined #317

borisyankov opened this issue May 8, 2016 · 2 comments

Comments

@borisyankov
Copy link

I get "Cannot read property 'name' of undefined" in file no-mutable-exports.js:80:56

The line is
export Something from './something';

@frostney
Copy link

frostney commented May 8, 2016

While not a fix, you can get around this by setting import/no-mutable-exports to 0 in your .eslintrc.

@benmosher
Copy link
Member

Ah, got it. So it doesn't support the ES7 export extensions. Good to know, thanks!

Probably will just ignore them to start. Could check the referenced export for mutability but it will be flagged there anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants