Skip to content

Commit

Permalink
Added .gitattributes file with settings for crlf
Browse files Browse the repository at this point in the history
  • Loading branch information
davetayls committed Jul 10, 2019
1 parent 9116c70 commit efdb683
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Line endings for this repository
# See: https://help.github.com/en/articles/configuring-git-to-handle-line-endings
# This should line up with the expectations from .eslintrc

# Set the default behavior, in case people don't have core.autocrlf set.
* text=crlf

# Declare files that will always have CRLF line endings on checkout.
*.ts text eol=crlf
*.tsx text eol=crlf
*.js text eol=crlf

0 comments on commit efdb683

Please sign in to comment.