-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
63 lines (46 loc) · 2.3 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
62
63
#https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options
#https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
#https://github.com/dotnet/corefx/blob/master/.editorconfig
[*]
end_of_line = crlf
[*.xml]
indent_style = space:suggestion
[*.cs, *.vb]
dotnet_sort_system_directives_first = true
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_qualification_for_method = false:warning
dotnet_style_qualification_for_event = false:warning
dotnet_style_predefined_type_for_member_access = true:warning
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:warning
dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods
dotnet_naming_rule.async_methods_end_in_async.style = end_in_async
dotnet_naming_rule.async_methods_end_in_async.severity = suggestion
dotnet_naming_symbols.any_async_methods.applicable_kinds = method
dotnet_naming_symbols.any_async_methods.applicable_accessibilities = *
dotnet_naming_symbols.any_async_methods.required_modifiers = async
dotnet_naming_style.end_in_async.required_suffix = Async
dotnet_naming_style.end_in_async.capitalization = pascal_case
[*.cs]
indent_style = space:warning
indent_size = 4:warning
tab_width = 4:warning
csharp_new_line_before_open_brace = none:warning
csharp_new_line_before_catch = false:warning
csharp_new_line_before_else = false:warning
csharp_new_line_before_finally = false:warning
csharp_new_line_before_members_in_anonymous_types = true:warning
csharp_new_line_before_members_in_object_initializers = true:warning
csharp_new_line_between_query_expression_clauses = true:warning
csharp_indent_case_contents = true:warning
csharp_indent_switch_labels = true:warning
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_expression_bodied_indexers = true:suggestion
csharp_prefer_braces = true:warning