Skip to content

[import/order] Regression in behavior with parent and sibling #2685

Open
@JohnnyDevNull

Description

Since Version 2.27.0 we've recognized a change in over 500 files with the ordering rule:

        "import/order": [
          "error",
          {
            "groups": ["builtin", "external", "parent", "sibling", "index"],
            "newlines-between": "always",
            "alphabetize": {
              "order": "asc",
              "caseInsensitive": true
            }
          }
        ],

For example:

@my-local-package/mysub-path
@my-local-package/mysub/path

They are now handled different than before and leads to hundres of linting errors where no before.

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