import-js/eslint-plugin-import

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

Open

#2.788 geöffnet am 30. Mai 2023

Auf GitHub ansehen
 (14 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (1.540 Forks)batch import
docshelp wantedimport/export ordering

Repository-Metriken

Stars
 (4.946 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 138T 22h) (3 gemergte PRs in 30 T)

Beschreibung

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?

Contributor Guide