Fix Git newline handling. (#2305)
This commit is contained in:
Родитель
86c9e3f61b
Коммит
b08530c0d8
|
@ -1,8 +1,9 @@
|
|||
|
||||
# Auto detect text files and perform LF normalization
|
||||
|
||||
* text=auto
|
||||
|
||||
* text=auto
|
||||
*.cpp -text
|
||||
*.h -text
|
||||
|
||||
|
||||
# Force Visual Studio project files (mostly XML) to CRLF
|
||||
|
@ -22,3 +23,7 @@
|
|||
*.vcxitems text eol=crlf
|
||||
*.props text eol=crlf
|
||||
*.filters text eol=crlf
|
||||
|
||||
.editorconfig text eol=lf
|
||||
.gitattributes text eol=lf
|
||||
package.json text eol=lf
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
# top-most EditorConfig file
|
||||
root = false
|
||||
|
||||
# Xml project files
|
||||
[*.{csproj,vcxproj,pssproj,vcxproj.filters}]
|
||||
indent_size = 2
|
||||
end_of_line = crlf
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
end_of_line = lf
|
||||
|
@ -15,6 +10,11 @@ insert_final_newline = true
|
|||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Xml project files
|
||||
[*.{csproj,vcxproj,pssproj,vcxproj.filters,targets,props}]
|
||||
end_of_line = crlf
|
||||
insert_final_newline = false
|
||||
|
||||
[*.ps1]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
<Message Text="=> ReactNativeDir [$(ReactNativeDir)]" />
|
||||
<Message Text="=> YogaDir [$(YogaDir)]" />
|
||||
<Message Text="=> ProjectHome [$(ProjectHome)]" />
|
||||
<Message Text="=> UserRootDir [$(UserRootDir)]" />
|
||||
<Message Text="=> MSBuildExtensionsPath [$(MSBuildExtensionsPath)]" />
|
||||
<Message Text="=> MSBuildExtensionsPath32 [$(MSBuildExtensionsPath32)]" />
|
||||
<Message Text="=> MSBuildExtensionsPath64 [$(MSBuildExtensionsPath64)]" />
|
||||
<Message Text="=> VCTargetsPath [$(VCTargetsPath)]" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -62,4 +62,4 @@
|
|||
"react": "16.6.3",
|
||||
"react-native": "0.58.6-microsoft.27 || https://github.com/Microsoft/react-native/archive/v0.58.6-microsoft.27.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче