# Auto detect text files and perform LF normalization * text=auto # C++ files should use CRLF. *.c text eol=crlf *.cpp text eol=crlf *.h text eol=crlf *.hpp text eol=crlf # Spec Codegen uses LF *Spec.g.h eol=lf /vnext/codegen/** eol=lf /vnext/Microsoft.ReactNative.IntegrationTests/codegen/** eol=lf # Force Visual Studio project files (mostly XML) to CRLF # This helps avoid conflict which occurs when Xmarian/Mac contributors with AutoCRLF=input (or off) # check in these files as CRLFs, and then Windows contributors with AutoCRLF=true end up checking then # files in as LFs (due to AutoCRLF=true normalizing CRLF->LF on check-in). *.sln text eol=crlf *.csproj text eol=crlf *.vbproj text eol=crlf *.fsproj text eol=crlf *.pyproj text eol=crlf *.dbproj text eol=crlf *.vcxproj text eol=crlf *.shproj text eol=crlf *.projitems text eol=crlf *.vcxitems text eol=crlf *.props text eol=crlf *.filters text eol=crlf *.js text eol=lf *.jsx text eol=lf *.ts text eol=lf *.tsx text eol=lf *.ps1 text eol=lf *.yml text eol=lf .editorconfig text eol=lf .gitattributes text eol=lf package.json text eol=lf /.yarn/patches/*.patch text eol=lf