1
0
Fork 0

added/disabled whitespace error flags

pull/4077/head
Rob Bast 2015-05-28 14:36:38 +02:00
parent bbef618d08
commit bd476ca201
1 changed files with 8 additions and 4 deletions

12
.gitattributes vendored
View File

@ -1,4 +1,8 @@
* text=auto # Auto-detect text files, ensure they use LF.
*.php text diff=php * text=auto eol=lf
*.json text eol=lf
*.test text eol=lf # These files are always considered text and should use LF.
# See core.whitespace @ http://git-scm.com/docs/git-config for whitespace flags.
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,space-before-tab,tabwidth=4 diff=php
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,space-before-tab,tabwidth=4
*.test text eol=lf whitespace=blank-at-eol,-blank-at-eof,space-before-tab,tabwidth=4