5 July 2017

A pre-commit hook to block tab-indented code

Avoiding tab-indentation is the best way to ensure code looks the same on all code editors/viewers including Mac, Windows, Vim and the GitHub website. I made a Git pre-commit hook that lints your newly added lines for tab indentation and stops the commit if it finds any.… Read more »