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

Enforce no-anonymous-default-export for new app and generators #507

Closed
flybayer opened this issue Apr 29, 2020 · 0 comments · Fixed by blitz-js/blitz#337
Closed

Enforce no-anonymous-default-export for new app and generators #507

flybayer opened this issue Apr 29, 2020 · 0 comments · Fixed by blitz-js/blitz#337

Comments

@flybayer
Copy link
Member

What do you want and why?

image

There's a lint rule for this: https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-anonymous-default-export.md

They are going to be adding it to CRA which means we'll eventually get it too, but we should go ahead and add this.

We also need to make sure our generators don't have anonymous default exports.

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

Successfully merging a pull request may close this issue.

2 participants