Skip to content

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