|
|
|
|
|
by yoodenvranx
2659 days ago
|
|
The thing with ideal auto-formatters is that there is no discussion about tabs vs spaces anymore! 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. |
|