-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.gitattributes
44 lines (37 loc) · 1.14 KB
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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
/packages/sample-apps/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