3 ms·
I’ve never seen a formatter cause merge or blame issues, but that could be because I always have them run on a precommit hook and even then always squash all co
by sixstringtheory 5y ago
I’ve never seen a formatter cause merge or blame issues, but that could be because I always have them run on a precommit hook and even then always squash all commits on a PR so there is never a commit in mainline history solely for code format. I would not admit a PR solely for formatting, either.
Git history trumps code style IMO, I would not e.g. add a formatter to a legacy codebase and then reformat everything, or do so after changing a rule. Only diffs get formatted.