Skip to content

no-duplicates should ignore flow type imports #225

Closed
@dmnd

Description

@dmnd

I'm using flow and no-duplicates triggers on:

import {someFunction} from '../src/foo';
import type {someType} from '../src/foo';

But as far as I know there's no way to import both types and other exports with the same line. no-duplicates should consider a flow type import as separate from a module export.

Metadata

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