Lily Skye
Lily Skye
@tgroutars we will keep simple variables as one-line, but more "complex" things get broken. Here is the current behavior (all lines exceed the print width): **Prettier 1.11.1** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEADAKgCwJYGcAEe+ATnAIYA2FAnvhdAOb4BGFZLbH7r3nPXA-kL4je7ACTAoZALZwAvqgDcAHShqMOAkVKUadRoNFGxJs8NP9JZGDGLZmAV3i4AdNLmLV6qJqI7yKlp6KCYLc2NwqMjjSRkIABM4ClcbOwdnODcPBWU1DSx-Al0gg1CIyxjK6or8OMTk1wY4GAA5WTgACgBKL3zfQu1iwP0QsKra6JqpuuB4pJTmmE6VEBzV3ryoEAAaEAgABxhsaFxkUDJiYggAdwAFS4QzlDIANwhsBN2QMlwYZAAZpRcHA9sxiGQwABrFoAZQOkOwoWQdkcoJACQgYEBwPRSJBxBgdwhDBkZBxFBBewAVrgAB4AIQh0LhHQAMki4BSqftnAdnAAmbnohHEAnIEDMMjMaghb4HeywADqnxgmGQAA4AAx7BUQEFKiEHCUKrJwYivLl7CGhOAAUSgXyQAE5XW7ndayLbYTBLv8kDqQKQAI6ObCkYlkUnkpBAynokEybAo4hova4JEMChwACKjgg8GFe19zBVCTVyAFxYh2AomYAwhAZGSJVBoFaQI4Qehpc84yD5PIgA) ```sh...
@caub I don't see your proposal, could you post a link to it? @lachieh we aren't satisfied with this output either, but template literal strings have been a somewhat difficult...
We won't do that; please read https://prettier.io/docs/en/option-philosophy.html for more info.
One workaround is to use ```{` `}``` for "explicit" spaces.
No, I'm rewriting `@babel/generator` in React. Just playing around
I might even go as far as to also consider the following "no text in children", even though there's a string child other than the space: ```jsx {"foo"} {" "}...
I can't get it to work, either. It definitely seems you have to pass the game command directly to `/etc/startup.sh` rather than waiting for `.X11-unix` as the readme says, but...
If you are slowly adopting prettier and have fewer files using it than not, then using [`requirePragma`](https://prettier.io/docs/en/options.html#require-pragma) might be the most ergonomic option.
I don't think making the default behavior different in CI is a good idea. It will confuse users who are trying to set up their CI when it behaves differently...