Skip to content

Commit 4e9074c

Browse files
committed
build: add .gitattributes
1 parent 0f9deb3 commit 4e9074c

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed

.gitattributes

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
* text=auto
2+
3+
*.md text eol=lf linguist-detectable diff=markdown
4+
*.xml text eol=lf
5+
*.svg text eol=lf
6+
*.yml text eol=lf
7+
*.js text eol=lf
8+
*.php text eol=lf diff=php
9+
*.twig text eol=lf
10+
*.sh text eol=lf diff=bash
11+
*.json text eol=lf
12+
*.phar -diff
13+
14+
# Excluded files for distribution
15+
/.github export-ignore
16+
/.husky export-ignore
17+
/docs export-ignore
18+
/demo export-ignore
19+
/.travis.yml export-ignore
20+
/phpdoc.dist.xml export-ignore
21+
/package-lock.json export-ignore
22+
/package.json export-ignore
23+
/.gitattributes export-ignore
24+
/.gitignore export-ignore

.github/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto export-ignore linguist-detectable=false

.husky/.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text=auto export-ignore linguist-detectable=false
2+
3+
/pre-commit text eol=lf diff=bash
4+
/pre-push text eol=lf diff=bash
5+
/commit-msg text eol=lf diff=bash

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)