Does anyone know if it's possible to configure Prettier in such a way to use up as much column space allowed, while still respecting the rest of the prettier/lint rules configured? So, if Prettier's printWidth
is set to 80
for example, and your code runs over that amount, prettier will wrap the line, but if you manually wrap your lines even though they could fit within a single line, Prettier won't do the reverse and put it all on one line.
So for example:
const someObject = {
someProperty: 'some value',
};
could easily fit into a single line: const someObject = {someProperty: 'some value'};
but prettier won't remove the new lines and put everything on one line.