Skip to content

Commit 6391ed9

Browse files
tmotylfballiano
andauthored
Added .gitattributes file (OpenMage#3318)
* Provide .gitattributes file to make composer install smaller and ensure correct line endings on checkout. * added docs folder --------- Co-authored-by: Fabrizio Balliano <[email protected]>
1 parent 0b50dcf commit 6391ed9

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.gitattributes

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Make packagist / composer download smaller
2+
/.ddev export-ignore
3+
/.github export-ignore
4+
/dev
5+
/docs
6+
7+
/.all-contributorsrc
8+
/.gitattributes export-ignore
9+
/.gitignore
10+
/.gitpod.yml
11+
12+
/.php-cs-fixer.dist.php export-ignore
13+
/.phpcs.ecg.xml.dist export-ignore
14+
/.phpcs.php.xml.dist export-ignore
15+
/.phpcs.xml.dist export-ignore
16+
/.phpmd.dist.xml export-ignore
17+
/phpstan.dist.baseline.neon export-ignore
18+
/phpstan.dist.issues.neon export-ignore
19+
/phpstan.dist.neon export-ignore
20+
21+
# Enforce checkout with linux lf consistent over all platforms
22+
*.html text eol=lf
23+
*.css text eol=lf
24+
*.js text eol=lf
25+
*.json text eol=lf
26+
*.php text eol=lf
27+
*.md text eol=lf
28+
*.yml text eol=lf
29+
*.yaml text eol=lf
30+
*.xml text eol=lf
31+
*.sh text eol=lf
32+
*.sql text eol=lf
33+
*.svg text eol=lf
34+
*.txt text eol=lf
35+
*.phtml text eol=lf

0 commit comments

Comments
 (0)