Prettier
Recommendation
Updated
Moved
USE
2021-09-15
What is it
Prettier is an opinionated code formatter with support for many frontend languages and tools including TypeScript and React. With Prettier, code can be formatted automatically on save, which decreases time spent on discussing code style in pull requests.
When to use it
We use Prettier in all our frontend projects. See the
usage documentation for how to use Prettier in a
project. We have defined a default Prettier configuration at
@einride/prettier-config
. See how to use that
default it its README. Before choosing another configuration or extending the defaults you should
discuss your intention with the Frontend Guild.