-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.editorconfig
More file actions
51 lines (45 loc) · 1.08 KB
/
.editorconfig
File metadata and controls
51 lines (45 loc) · 1.08 KB
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
root = true
# Don't forget to update the gitattributes if you're changing line ending treatment
[*.{c,cc,cpp,cxx,h,hh,hpp,hxx,txt,props,js,mm,plist,java,ini}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
[*.{md}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = false
[*.{json}]
end_of_line = lf
insert_final_newline = true
charset = latin1
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
[*.{rc,htm,html}]
end_of_line = crlf
insert_final_newline = true
charset = latin1
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
# these are based on what VS will generate by default
[*.{vcxproj,vcxproj.filters,vcxitems,vcxitems.filters,sln}]
end_of_line = crlf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[*.{hexpat}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true