Hi,

I would like to know if you think using auto-formatting tools like prettier
is a good idea.
The pros are pretty clear: It helps formatting the code in a uniformed
style without our consideration.

But for the current code that doesn't follow the style rules, we can choose
a. Fix all the code styles once in a single PR
b. Fix the code styles in a file when it is changed in a future PR

If we choose plan a, the last change of most lines would be this PR and
lose the help of "git blame".
If we choose plan b, for many times the project would have different styles
over different files and many of future PRs will have styling changings
which make the PR a little harder to review.

So I would like to know if you think the help from auto-formatting tools is
worth the price and which plan we should take for historical styling
problems.

Thanks

*Ovilia*

Reply via email to