Skip to content

Request no-named-as-default rule options which allows Re-Export default syntax #566

@preco21

Description

@preco21

Hello! 👋

Since import/no-named-as-default rule supports post-ES2015 import syntax, it would be nice if it has some option that allows Re-Export default as default syntax.

For instance:

Component/Component.js:

export {
  Component as default,
};

Component/index.js:

export default from './Component'; // not considered problem

How about it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions