Georgii Dolzhykov

Results 311 comments of Georgii Dolzhykov

@dylannz-sailthru Would you really prefer to get [a diff instead like @muescha has proposed](https://github.com/prettier/prettier/issues/6885#issuecomment-554256895) and apply it manually instead of running the formatter?

@dylannz-sailthru Locally, extra setup isn't needed. Prettier is installed as a dev dependency and there is usually a command in the project to run all the linters, formatters, etc. (e.g....

@guyzmo > I believe it would be nice to have a way ... for debugging purposes But you have that way, don't you? I mean the combination of `prettier --write`...

@kydesnic Prettier is an opinionated code formatter. "Opinionated" means "not configurable". Settings are added only as a last resort.

This isn't SVG-specific. I'd say this is a duplicate of https://github.com/prettier/prettier/issues/8302, see also https://github.com/prettier/prettier/issues/7153 Here's a demo of the same behavior with the `button` tags instead of `svg`: **Prettier 2.7.1**...

Closing in favor of #8302

@fisker From what I gather, it's a bug in fonts, not in Prettier.

That's why Prettier uses the `string-width` module. Btw, those strings look equally long if rendered with the font Ubuntu Mono: https://runkit.com/embed/ckrswhvp5sh0

Why can't Prettier simply leave this whitespace (or lack of it) the way it was written in the input? In English, periods and commas should be followed by whitespace. Does...