-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy path.editorconfig
More file actions
53 lines (43 loc) · 945 Bytes
/
Copy path.editorconfig
File metadata and controls
53 lines (43 loc) · 945 Bytes
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
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
tab_width = 4
# max_line_length = 120
[*.{h,hpp,hh,hxx,inl,ipp,cpp,cc,cxx,ixx}]
# C++20 source & header files
indent_style = space
indent_size = 4
tab_width = 4
# Prefer LF in repos; allow editors to keep EOL consistent
end_of_line = lf
# Keep includes / macros readable
# max_line_length = 120
# Common C++ conventions
# curly_bracket_next_line = false
# space_around_operators = true
# spaces_within_parentheses = false
[*.{cmake,CMakeLists.txt}]
indent_style = space
indent_size = 2
tab_width = 2
[*.{md,markdown}]
trim_trailing_whitespace = false
max_line_length = off
[*.{yml,yaml}]
indent_style = space
indent_size = 2
tab_width = 2
[*.{json,jsonc}]
indent_style = space
indent_size = 2
tab_width = 2
[*.{sh,bash}]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf