eslint-plugin-import-helpers icon indicating copy to clipboard operation
eslint-plugin-import-helpers copied to clipboard

Sort import with styles does not work

Open Michael3468 opened this issue 2 years ago • 0 comments

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

Michael3468 avatar Mar 30 '23 08:03 Michael3468