HF RL Explorer

Prettier reformats expressions inside template literal ${...} placeholders, producing ugly output (and…

Prettier reformats expressions inside template literal ${...} placeholders, producing ugly output (and…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). When I have a template literal whose placeholders contain non-trivial expressions (chained calls, multi-argument…

The task

When I have a template literal whose placeholders contain non-trivial expressions (chained calls, multi-argument function calls, ternaries, object literals, etc.), prettier reflows the code inside `${...}` as if it were a normal expression, which makes the whole template literal break across many lines.

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.