-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Add no-anonymous-default-export to default rule set #12291
Comments
Haven't seen any discussion around it in this repo yet, but can |
We should also probably fix examples like this: https://github.com/zeit/next.js/blob/master/examples/hello-world/pages/index.js
If Next has a rule set, this plugin 100% should be there. It's pretty vital so I'm surprised if it's not there already... |
Next.js doesn't have eslint built in currently, this is something the Chrome team is working on though: #11986 |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Not sure if Next has a lint rule set, but if it does, we should add https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-anonymous-default-export.md there. See https://twitter.com/dan_abramov/status/1255237989548134405.
The text was updated successfully, but these errors were encountered: