You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Prettier would help us have code that's... prettier. By enforcing a standard, it would also remove the annoying whitespace changes that we often see popping up in PRs just because two different developers have slightly different settings in their text editors or IDEs.
There are other formatters out there, but Prettier is the most popular and most people are familiar with it. I also like that it's opinionated so we don't need to have a lot of back-and-forth on config options.
The text was updated successfully, but these errors were encountered:
I was hoping that we would achieve the desired formatting styles just by using eslint, but it seems that it's not true 🤷.
The existing eslint setup is definitely really helpful! But yeah, formatters and linters are good at different things, so it's pretty common to have both. I don't think this is an urgent problem for us, though. It would become more urgent if we regularly had a larger group of people pushing code.
Using Prettier would help us have code that's... prettier. By enforcing a standard, it would also remove the annoying whitespace changes that we often see popping up in PRs just because two different developers have slightly different settings in their text editors or IDEs.
There are other formatters out there, but Prettier is the most popular and most people are familiar with it. I also like that it's opinionated so we don't need to have a lot of back-and-forth on config options.
The text was updated successfully, but these errors were encountered: