by yoodenvranx · 7y ago · 0 comments
In a perfect world each language has exactly one (non-configurable) formatter and this solves all the formatting discussions.
For JS I use prettier and altough I am not 100% happy with some of the formatting choices I _love_ it because I can focus on code and not have flamewars about tabs vs spaces with my co-workers. prettier ends all style discussions. And code reviews are much nicer because people concentrate on checking the code, not the formatting.