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?

贡献者指南