import-js/eslint-plugin-import

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

Open

#2,788 建立於 2023年5月30日

在 GitHub 查看
 (14 留言) (1 反應) (0 負責人)JavaScript (1,540 fork)batch import
docshelp wantedimport/export ordering

倉庫指標

Star
 (4,946 star)
PR 合併指標
 (平均合併 138天 22小時) (30 天內合併 3 個 PR)

描述

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?

貢獻者指南