Skip to content

Sort import with styles does not work #55

@Michael3468

Description

@Michael3468

I trying to sort imports with '.css' extension and add write rule in config like this:

    "import-helpers/order-imports": [
      "warn",
      {
        "newlinesBetween": "always",
        "groups": [
          "module",
          "/^@shared/",
          "/^@server/",
          "/^@client/",
          "/^@/",
          ["parent", "sibling", "index"],
          "/\\.css$/"
        ],
        "alphabetize": {
          "order": "asc",
          "ignoreCase": true
        }
      }
    ],

but it does not work

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