Skip to content

Commit 1d681f3

Browse files
rvitaliyste93cry
authored andcommitted
Update .gitattributes (#770)
1 parent 157f8eb commit 1d681f3

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.gitattributes

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1-
/examples export-ignore
2-
/docs export-ignore
1+
# Auto-detect text files, ensure they use LF.
2+
* text=auto eol=lf
3+
4+
# These files are always considered text and should use LF.
5+
# See core.whitespace @ http://git-scm.com/docs/git-config for whitespace flags.
6+
*.php text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4 diff=php
7+
*.json text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4
8+
*.yml text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4
9+
*.md text eol=lf whitespace=blank-at-eol,blank-at-eof
10+
*.rst text eol=lf whitespace=blank-at-eol,blank-at-eof
11+
12+
# Exclude non-essential files from dist
313
/tests export-ignore
14+
/.appveyor.yml export-ignore
15+
/.craft.yml export-ignore
16+
/.editorconfig export-ignore
17+
/.gitattributes export-ignore
18+
/.gitignore export-ignore
19+
/.php_cs export-ignore
20+
/.scrutinizer.yml export-ignore
21+
/.travis.yml export-ignore
22+
/Makefile export-ignore
23+
/phpstan.neon export-ignore
24+
/phpunit.xml.dist export-ignore

0 commit comments

Comments
 (0)