Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for absolute imports to import/order #512

Copy link
Copy link
Open
@HenriBeck

Description

@HenriBeck
Issue body actions

Currently, when you have the order rule turned on and the option newlines-between set to always
it will give errors when you have something like this:

import a from '/imports/config';
import b from '/imports/some/folder'

This will report having an empty line between the imports which in my opinion isn't correct.

Proposal

Add a new string to the order rule called absolute.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.