add .gitattributes

This commit is contained in:
Christopher Willis-Ford 2021-06-11 14:06:08 -07:00
parent 228031aa5c
commit 84efdb0cc2

29
.gitattributes vendored Normal file
View file

@ -0,0 +1,29 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly specify line endings for as many files as possible.
# People who (for example) rsync between Windows and Linux need this.
# File types which we know are binary
*.png binary
# Prefer LF for most file types
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.yml text eol=lf
# Prefer LF for these files
.tx/config text eol=lf
.babelrc text eol=lf
.editorconfig text eol=lf
.eslintignore text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf
.jshintrc text eol=lf
.npmignore text eol=lf
LICENSE text eol=lf
TRADEMARK text eol=lf
# Use CRLF for Windows-specific file types