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

prefer-default-export: Support 'export function foo() {}; export const x = 4;' #359

Merged
merged 2 commits into from
May 31, 2016
Merged

prefer-default-export: Support 'export function foo() {}; export const x = 4;' #359

merged 2 commits into from
May 31, 2016

Conversation

scottnonnenberg
Copy link
Contributor

Fixes #358.

The fixes to support multiple declarations left out a crucial else case.

@gavriguy
Copy link
Contributor

LGTM

@benmosher
Copy link
Member

Great catch!

Can you make a change log note?

@scottnonnenberg
Copy link
Contributor Author

Hopefully that's what you're looking for! :0)

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 count 'export function foo() {}'
3 participants