Hacker News new | ask | show | jobs
by eroullit 4711 days ago
git stripspace is a plus but if you are already considering to add a pre-commit hook, you could directly use 'indent'. It trims those pesky whitespaces and indent your code automatically the way you see fit. (e.g: https://gist.github.com/eroullit/1250603)
1 comments

If you use C-family languages?