-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
45 lines (37 loc) · 1.19 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
45
* text=auto eol=lf
# Disable line ending smudges entirely.
* -text
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor
# may also require a special configuration to allow comments in JSON.
#
# For more information, see this issue: https://github.com/Microsoft/web-build-tools/issues/1088
#
*.json linguist-language=JSON-with-Comments
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
*.{sln,[sS][lL][nN]} text eol=crlf
*.py diff=python
# All source files should have unix line-endings in the repository, but convert to native line-endings on checkout
# Keep the include header(s) with LFs to make sure it is uploaded, hashed etc with LF
*.{c,h} text
*.{cc,hh} text
*.{cpp,hpp} text
*.{c++,h++} text
*.{cxx,hxx} text
*.{cppm,inl,ipp,ixx,tlh,tli} text
*.{json,js,jsx,ts,tsx} text
*.md text
*.cmake text
CMakeLists.txt text
# Keep these with LFs to make sure uploaded, hashed etc with LF
LICENSE eol=lf
COPYING eol=lf
HACKING eol=lf
AUTHORS eol=lf
*.gif binary
*.mp4 binary
*.bin binary
*.pfx binary
*.png binary
*.ico binary