Skip to content

Flow type export awareness for import/group-exports rule #1702

Closed
@ernestostifano

Description

When using import/group-exports rule, the following statements are considered problematic. I am being asked to group them in a single export.

export type {FormAPI};
export {Form};

However, Flow type exports and JS exports can not be grouped.

Shall this be ignored by the rule? Shall we add some kind of rule option to customize this behaviour? Currently I can not see anyway to workaround this.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions