Skip to content

Recommended import grouping and order? #616

@mwildehahn

Description

@mwildehahn

Is there a recommended import grouping and order for es6 modules?

python has some specifications in PEP as well as some logical extensions: https://code.google.com/p/soc/wiki/PythonStyleGuide#Imports_grouping_and_order

given that es6 imports are reversed, ie instead of:

from <module> import <function> (python)
its
import <function> from <module>

sorting by module isn't as intuitive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions