import-js/eslint-plugin-import
在 GitHub 查看[Question] How to put styles first with `import/order`?
Open
#2,788 建立於 2023年5月30日
docshelp wantedimport/export ordering
描述
With:
{
"import/order": [
"error",
{
"newlines-between": "never",
"warnOnUnassignedImports": true
}
]
}
The following code throws:
But I want to put styles first, is there a way to turn this error off?