diff --git a/.gitattributes b/.gitattributes index f42d752c9..2e5077856 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10,5 +10,10 @@ # go fmt will enforce this, but in case a user has not called "go fmt" allow GIT to catch this: *.go text eol=lf core.whitespace whitespace=indent-with-non-tab,trailing-space,tabwidth=4 +*.txt text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 +*.tpl text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 +*.htm text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 +*.html text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 +*.md text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 *.yml text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2 .git* text eol=auto core.whitespace whitespace=trailing-space