import-js/eslint-plugin-import

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

Open

#2,788 opened on 2023年5月30日

GitHub で見る
 (14 comments) (1 reaction) (0 assignees)JavaScript (4,946 stars) (1,540 forks)batch import
docshelp wantedimport/export ordering

説明

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?

コントリビューターガイド