-
Notifications
You must be signed in to change notification settings - Fork 7
/
.editorconfig
31 lines (28 loc) · 1.28 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
root = true
[*.cs]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers = false
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async
csharp_space_after_cast = true
csharp_style_var_elsewhere = false:none
csharp_style_var_for_built_in_types = false:suggestion
csharp_style_namespace_declarations = file_scoped:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_qualification_for_event = false:suggestion
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_require_accessibility_modifiers = always:suggestion
# Rider/ReSharper properties
configure_await_analysis_mode = library
resharper_braces_for_ifelse = required_for_multiline
resharper_csharp_insert_final_newline = true
resharper_for_built_in_types = use_var_when_evident
resharper_object_creation_when_type_evident = explicitly_typed