-
-
Notifications
You must be signed in to change notification settings - Fork 140
/
.editorconfig
58 lines (49 loc) · 964 Bytes
/
.editorconfig
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
46
47
48
49
50
51
52
53
54
55
56
57
58
root = true
# All files (Base Setting)
[*]
insert_final_newline = true
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
charset = utf-8
end_of_line = lf
# Code files
[*.{cpp,h,hpp,cs,csx,vb,vbx,cu,cuh}]
indent_size = 4
indent_style = tab
insert_final_newline = true
charset = utf-8-bom
end_of_line = lf
# Visual Studio XML files
[*.{csproj,xml,xslt,vcxproj,vcxproj.*,props}]
charset = utf-8-bom
end_of_line = crlf
insert_final_newline = false
# Document files
[*.txt]
charset = utf-8-bom
end_of_line = crlf
[*.md]
charset = utf-8-bom
end_of_line = crlf
trim_trailing_whitespace = false
# Windows executable files
[*.{bat,cmd,ps1}]
charset = utf-8-bom
end_of_line = crlf
# Any Platform executable files
[*.{sh,py}]
charset = utf-8
end_of_line = lf
# Makefile
[Makefile]
indent_size = 4
indent_style = tab
charset = utf-8
end_of_line = lf
# Android Makefile
[*.{mk}]
indent_size = 2
indent_style = space
charset = utf-8
end_of_line = lf