Skip to content

pathGroups with different behaviour for external and internal groups #1585

@beatriz

Description

@beatriz

I am using pathGroups to add some extra layers on the import orders. However, it would be nice for it to have the same behaviour on external and internal groups.

Currently, I have

import React from "react";
import Icon from "antd/lib/Icon";
import Menu from "antd/lib/Menu";

but it would be really nice if I could add

"pathGroups": [
  {
     "pattern": "antd/**",
     "group": "external",
     "position": "after"
  }
]

to force the separation of the antd imports, as they can be many. Is it possible currently? I find it not working.

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