Decided
I used Beautify's VS Code extension for a long time, until I happened into Prettier after checking out some alternatives when I required JSX file formatting. Prettier makes a lot of smart decisions that occasionally look silly on the surface (e.g. splitting inline HTML tags to new lines by their brackets to prevent unexpected white space) but requires little to no configuration... which is exactly the point. I want a code formatting solution that allows me to shut my brain off and work on what matters: writing quality code. That's literally their tagline, I believe.
The only .prettierrc config I've ever needed:
{
"useTabs": true,
"tabWidth": 4
}
And you're ready to roll.
0 views0