Add .gitattributes file

Also ignore `.idea` directory
This commit is contained in:
Christopher Willis-Ford 2017-01-04 13:28:47 -08:00
parent 519364d95a
commit 8c04fd589a
2 changed files with 38 additions and 0 deletions

37
.gitattributes vendored Normal file
View file

@ -0,0 +1,37 @@
# 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
*.eot binary
*.ico binary
*.jpg binary
*.png binary
*.sbx binary
*.swf binary
*.ttf binary
*.woff binary
# Prefer LF for most file types
*.css text eol=lf
*.css.map text eol=lf
*.html text eol=lf
*.js text eol=lf
*.js.map text eol=lf
*.md text eol=lf
*.po text eol=lf
*.scss text eol=lf
*.svg text eol=lf
*.txt text eol=lf
*min.map text eol=lf
# Prefer LF for these files
.editorconfig text eol=lf
.eslintignore text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf
CNAME text eol=lf
# Use CRLF for Windows-specific file types

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/.idea
.sass-cache
.DS_Store