Skip to content

[Question] How to put styles first with import/order? #2788

Open
@wenfangdu

Description

@wenfangdu

With:

{
  "import/order": [
    "error",
    {
      "newlines-between": "never",
      "warnOnUnassignedImports": true
    }
  ]
}

The following code throws:
image
image
But I want to put styles first, is there a way to turn this error off?

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