Add a .gitattributes file to permanentyl fix crlf issues. For explanantion: https://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/#the-new-systemmaster
parent
60394e38eb
commit
aded1e4193
3 changed files with 520 additions and 504 deletions
@ -0,0 +1,16 @@ |
|||||||
|
# See this article for reference: https://help.github.com/articles/dealing-with-line-endings/ |
||||||
|
# Refreshing repo after line ending change: |
||||||
|
# https://help.github.com/articles/dealing-with-line-endings/#refreshing-a-repository-after-changing-line-endings |
||||||
|
|
||||||
|
# Handle line endings automatically for files detected as text |
||||||
|
# and leave all files detected as binary untouched. |
||||||
|
* text=auto |
||||||
|
|
||||||
|
# |
||||||
|
# The above will handle all files NOT found below |
||||||
|
# |
||||||
|
# These files are text and should be normalized (Convert crlf => lf) |
||||||
|
# Use lf as eol for these files |
||||||
|
*.js text eol=lf |
||||||
|
*.ts text eol=lf |
||||||
|
*.json text eol=lf |
Loading…
Reference in new issue