Skip to content

Commit

Permalink
limit lf endings to text files (#221)
Browse files Browse the repository at this point in the history
Config from #216 was a bit to strict and affected also binary files like png. It's better to use a explicit list for files we want to stay always in lf.
  • Loading branch information
zinserjan committed Mar 20, 2018
1 parent 6377143 commit 74092c1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .gitattributes
@@ -1 +1,11 @@
* text eol=lf
# restore defaults
* text=auto

# use lf line endings at least for the following files
*.js text eol=lf
*.ts text eol=lf
*.json text eol=lf
*.md text eol=lf
*.opts text eol=lf
*.coffee text eol=lf
*.yml text eol=lf

0 comments on commit 74092c1

Please sign in to comment.