forked from BattletechModders/BattleTechModLoader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
62 lines (46 loc) · 1.82 KB
/
.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
59
60
61
# EditorConfig is awesome: http://EditorConfig.org
root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 4
[*.json]
charset = utf-8
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
# See https://github.com/dotnet/roslyn/blob/master/src/Workspaces/CSharp/Portable/Formatting/CSharpFormattingOptions.cs
# includes older, alternative and compatibility declarations (to be cleaned up) possibly used by non-roslyn editors
[*.{cs,cshtml}]
charset = utf-8
trim_trailing_whitespace = true
indent_brace_style = Allman
curly_bracket_next_line = true
continuation_indent_size = 4
csharp_new_lines_for_braces_in_types = true
csharp_new_lines_for_braces_in_methods = true
csharp_new_lines_for_braces_in_properties = true
csharp_new_lines_for_braces_in_accessors = true
csharp_new_lines_for_braces_in_anonymous_methods = true
csharp_new_lines_for_braces_in_control_blocks = true
csharp_new_lines_for_braces_in_object_collection_array_initializers = true
csharp_new_lines_for_braces_in_lambda_expression_body = true
csharp_new_line_for_else = true
csharp_new_line_before_else = true
csharp_new_line_for_catch = true
csharp_new_line_before_catch = true
csharp_new_line_for_finally = true
csharp_new_line_before_finally = true
csharp_new_line_for_members_in_object_init = true
csharp_new_line_before_members_in_object_init = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_lines_for_braces_in_anonymous_types = true
csharp_new_line_for_members_in_anonymous_types = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_for_clauses_in_query = true
csharp_new_line_before_clauses_in_query = true
csharp_new_line_for_open_brace = all
csharp_new_line_before_open_brace = all
csharp_indent_switch_labels = true
csharp_indent_case_contents = true
csharp_label_positioning = noIndent