2016-04-20 22:56:57 +08:00
|
|
|
# shell scripts should not use tabs to indent!
|
|
|
|
*.bash text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
|
|
|
*.sh text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
2016-03-19 06:10:24 +08:00
|
|
|
|
2016-04-20 22:56:57 +08:00
|
|
|
# files for systemd (shell-similar)
|
|
|
|
*.path text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
|
|
|
*.service text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
|
|
|
*.timer text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2018-11-18 00:24:54 +08:00
|
|
|
*.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
|
2016-04-20 22:56:57 +08:00
|
|
|
*.yml text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
|
|
|
.git* text eol=auto core.whitespace whitespace=trailing-space
|