It sucks, but this isnt currently supported.
While this doesnt work for OP's example, one option is to add the prettier-ignore comment to the start of each line to be ignored, using the /* */ comment style, eg.
/* prettier-ignore */ import { SomeTypeA, SomeTypeB, SomeTypeC } from './some-long-folder-name/super-long-import';
/* prettier-ignore */ import { someFnA, someFnB, someFnC, } from './another-long-folder-name/super-long-import';
In my opinion, this is easier on the eyes than the alternatives;
Letting prettier reformat the imports:
import {
SomeTypeA,
SomeTypeB,
SomeTypeC,
} from './some-long-folder-name/super-long-import';
import {
someFnA,
someFnB,
someFnC,
} from './another-long-folder-name/super-long-import';
Specifying the // prettier-ignore comment above each import:
// prettier-ignore
import { SomeTypeA, SomeTypeB, SomeTypeC } from './some-long-folder-name/super-long-import';
// prettier-ignore
import { someFnA, someFnB, someFnC, } from './another-long-folder-name/super-long-import';