diff --git a/.gitattributes b/.gitattributes index e5fc963648..3ad91aa898 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,15 @@ -yarn.lock text eol=lf \ No newline at end of file +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +# *.c text +# *.h text + +# Declare files that will always have LF line endings on checkout. +*.js text eol=lf +yarn.lock text eol=lf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file