-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for newlines-between-types
?
#234
Comments
Looking at that property again, it seems I misunderstood what it does. What I wanted is for the import type foo from 'foo';
import type { bar } from 'bar';
import foo from 'foo';
import { bar } from 'bar';
import { baz, bazLegacy } from 'baz'; The rule doesn't seem to do this, and I don't know if it's possible to do this with the current configuration options. So what I'm asking for is for this behavior, rather than that of |
This is a stylistic rule, right? Might fit better in https://github.com/eslint-stylistic/eslint-stylistic, or maybe they already have such a rule. |
But also PR welcome to sync with upstream, so user migration from upstream plugin would be easier. |
Right, |
I had already looked around these before turning to |
It is an option for the
order
rule:https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md#newlines-between-types
Also, I was curious what the performance difference between is this package and the original, and what things are faster. I only want to do import sorting, so I was wondering if there are any performance improvements to that in this package, or if there wouldn't be much of a difference.
The text was updated successfully, but these errors were encountered: