~~ importDeclaration.forceSingleLine: true, lineWidth: 40 ~~
== should keep import decls on same line unless they contain a line comment ==
import { testing, a, b, c, d, e } from "./test.ts";
import { testing, a, b, c, d, e // test
} from "./test.ts";
import { a, b, c, d, e /* this is ok though testing testing */ } from "./test.ts";
import { a, b, c, d, e /* and
not ok */ } from "./test.ts";

[expect]
import { a, b, c, d, e, testing } from "./test.ts";
import {
    a,
    b,
    c,
    d,
    e, // test
    testing,
} from "./test.ts";
import { a, b, c, d, e /* this is ok though testing testing */ } from "./test.ts";
import {
    a,
    b,
    c,
    d,
    e, /* and
not ok */
} from "./test.ts";

== should collapse a multi-line one ==
import { /* a */

  a,

  /* test */ b, /* other */
  c,
  /* testing */
  d,
} from "./test.ts"; // actually, a block comment at the start of this line causes a bug
// where the block comment will not have a space after it. Not worth fixing though
// because it will be fixed by formatting again (which the CLI does automatically)
// and it's super rare that someone would put a comment there.
import {
  /* a */
  a,
  b,
  c,
  d,
} from "./test.ts";

[expect]
import { /* a */ a, /* test */ b, /* other */ c, /* testing */ d } from "./test.ts"; // actually, a block comment at the start of this line causes a bug
// where the block comment will not have a space after it. Not worth fixing though
// because it will be fixed by formatting again (which the CLI does automatically)
// and it's super rare that someone would put a comment there.
import { /* a */ a, b, c, d } from "./test.ts";
