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

Fix prefer default in multiple named export case #343

Merged
merged 2 commits into from
May 19, 2016
Merged

Fix prefer default in multiple named export case #343

merged 2 commits into from
May 19, 2016

Conversation

scottnonnenberg
Copy link
Contributor

Fixes #342. Instead of counting the number of ExportNamedDeclaration nodes, we count the number of properties in its child ObjectPattern.

A couple other style fixes.

@benmosher
Copy link
Member

It's close. Will provide feedback ASAP, next few days or so. 😄

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

Successfully merging this pull request may close these issues.

prefer-default-export doesn't understand destructoring
2 participants