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

Error while loading rule 'import/group-exports': rule.create is not a function #1031

Closed
SammyM opened this issue Feb 22, 2018 · 2 comments
Closed
Assignees
Labels

Comments

@SammyM
Copy link

SammyM commented Feb 22, 2018

I think, due to the export default within group-exports.js, it's causing the following error when I try to lint my JavaScript:

Error while loading rule 'import/group-exports': rule.create is not a function

because it compiles it to exports.default = {}; instead of module.exports = {.

@ljharb
Copy link
Member

ljharb commented Feb 22, 2018

Whoops. Yeah that needs fixing.

@ljharb ljharb self-assigned this Feb 22, 2018
@ljharb ljharb closed this as completed in 402c60a Feb 22, 2018
@ljharb ljharb added the bug label Feb 23, 2018
@JakobJingleheimer
Copy link

JakobJingleheimer commented Mar 28, 2018

@ljharb could this get released please? it looks like the latest release was published the day before this fix.

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

No branches or pull requests

3 participants