import-js/eslint-plugin-import
View on GitHub[Question] How to put styles first with `import/order`?
Open
#2,788 opened on May 30, 2023
docshelp wantedimport/export ordering
Repository metrics
- Stars
- (4,946 stars)
- PR merge metrics
- (Avg merge 138d 22h) (3 merged PRs in 30d)
Description
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?