html5rocks/www.html5rocks.com — pull request #230 by paulirish (2012-11-21 19:17:42+00:00)
Title: whitespace normalization

on every pull from this repo, i encounter errors where the whitespace is not normalized.

windows users have a bad habit of opening existing files and replacing LF with CRLF. this causes messy whitespace commits where nothing functional is changed, but the diff is huge.

luckily git has the ability to manage all of this for us.

in this PR:
* gitconfig file with whitespace rules
* gitattributes file that addresses line endings (see ep #3 of breakpoint to understand what this does)
* whitespaces fixes for files already in the repo

cc @sindresorhus for your review