~~ lineWidth: 40, importDeclaration.preferHanging: true ~~
== should format on a single line when hanging and short enough ==
import { n1, n2,
    n3 } from "test";

[expect]
import { n1, n2, n3 } from "test";

== should format hanging when long enough ==
import { test1, test2, test3 as something } from "test";

[expect]
import { test1, test2,
    test3 as something } from "test";

== should break up on `as` when really long on the same line ==
import { loooooooooooooooooooooooooooooooooooong as alias, test } from "test";

[expect]
import {
    loooooooooooooooooooooooooooooooooooong
        as alias,
    test,
} from "test";

== should break up on `as` when really long on a different line ==
import {
    loooooooooooooooooooooooooooooooooooong as alias,
    test
} from "test";

[expect]
import {
    loooooooooooooooooooooooooooooooooooong
        as alias,
    test,
} from "test";
