News for hackers. Stuff that matters.
Re:Prettier $20k Bounty was Claimed by nicoburns on Monday November 27, 2023 @02:02PM (#38436650)
A good example from further down the comment section:

Prettier doesn't break template literals, but it will break non-literal sections of template strings. For example, if we wrote this:

    const foo = `aaaaaaaaaaaaaaa${bbbbbbbbbbbbb}ccccccccccccccc${ddddddddddd}`;
prettier would fix it to

    const foo = 
      `aaaaaaaaaaaaaaa${
        bbbbbbbbbbbbb
       }ccccccccccccccc${
        ddddddddddd
       }`;
Which is not only much harder to read in it's own right, but now takes up 6 lines instead of one!
Re:Prettier $20k Bounty was Claimed by bakkoting on Monday November 27, 2023 @07:29PM (#38440651)
I have a PR fixing that: https://github.com/prettier/prettier/pull/15209

Just needs another maintainer's stamp.