You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way, configuration-wise, that one could leave an empty line between global imports and relative ones?
Instead of this:
import { Observable, Subscription } from 'rxjs'
import { skipWhile, take } from 'rxjs/operators'
import { Test } from '../../test.model'
import * as TestStore from '../../test.action'
It would organize like this:
import { Observable, Subscription } from 'rxjs'
import { skipWhile, take } from 'rxjs/operators'
import { Test } from '../../test.model'
import * as TestStore from '../../test.action'
Great plugin nonetheless, keep up the good work!
The text was updated successfully, but these errors were encountered:
No, that's not possible because the organizeImports feature of the TypeScript API doesn't support this. In fact, it doesn't have any options yet. If it adds some, then I'll expose those so they can be configured for this plugin.
I'm not planning to add any manual processing past what TypeScript's organizeImports does.
IMHO: no one really reads the import statements anyway, so don't worry about formatting/whitespace there 😉
Is there any way, configuration-wise, that one could leave an empty line between global imports and relative ones?
Instead of this:
It would organize like this:
Great plugin nonetheless, keep up the good work!
The text was updated successfully, but these errors were encountered: