News for hackers. Stuff that matters.
Re:How to contribute to an open source project on GitHub by BurningFrog on Sunday November 06, 2016 @12:41AM (#12883548)
Well, you can't do that when reading code on github.com, for example.

Even if I have the code checked out, I don't want to clutter my diff with hundreds of reformatted lines just to read it.

It sounds like formatting isn't important for your code comprehension. That's nice for you, but for many of us, that's just not how our brains work.

Re:How to contribute to an open source project on GitHub by the8472 on Sunday November 06, 2016 @07:33AM (#12884811)
But if you just shift the burden from yourself to someone else that's a zero-sum game, not an improvement.

Instead a formatter should be applied via a commit hook and github should provide a what-if version of the pull request with the hooks applied.