Skip to content

Order is not enforced between wildcard and non-wildcard imports of the same module #200

@cakoose

Description

@cakoose

Sometimes, we have a wildcard and non-wildcard import of the same module, e.g.

import * as module1 from 'lib/module1';
import {Module1Helper} from 'lib/module1';

eslint-plugin-simple-import sort allows these imports to be in any order. Is this intentional?

ESLint Online Playground link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions