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

Created on 22 Feb 2018  路  2Comments  路  Source: benmosher/eslint-plugin-import

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 = {.

bug

All 2 comments

Whoops. Yeah that needs fixing.

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

Was this page helpful?
0 / 5 - 0 ratings