3 ms·
And if you are working in a team it makes those arguments about styling moot. One of the best aspects of JavaScript.
by Drdrdrq 6y ago
And if you are working in a team it makes those arguments about styling moot. One of the best aspects of JavaScript.
- tomduncalf 6y agoYeah that’s what I mean about PRs - such a time saver to not discuss trivial code style issues and be able to just focus on the code itself!
- _virtu 6y agoI'll never forget getting our team of 90+ devs to move to prettier because of this argument and then having team members proceed to strong arm me to change the configs to things that they preferred six months after we made the move and we had adopted it across over 10 different repos. Talk about counter to the whole point of using such a wonderful tool.
- tomduncalf 6y agoThat must have been frustrating - I do feel like perhaps they made a mistake adding configuration to prettier at all! But especially for matters of preference such as single vs double quotes where ultimately it makes very little difference. Luckily my team are happy with the defaults + slightly longer line length