-
Notifications
You must be signed in to change notification settings - Fork 13
/
.editorconfig
36 lines (32 loc) · 1.29 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
root=true
[*.cs]
charset=utf-8-bom
csharp_new_line_before_catch=false
csharp_new_line_before_else=false
csharp_new_line_before_finally=false
csharp_new_line_before_open_brace=methods,types,properties
csharp_prefer_braces=true:error
csharp_preserve_single_line_statements=false
csharp_style_deconstructed_variable_declaration=true:none
csharp_style_expression_bodied_accessors=true:warning
csharp_style_expression_bodied_constructors=true:warning
csharp_style_expression_bodied_indexers=true:warning
csharp_style_expression_bodied_methods=when_on_single_line:suggestion
csharp_style_expression_bodied_operators=true:warning
csharp_style_expression_bodied_properties=true:warning
csharp_style_var_elsewhere=true:warning
csharp_style_var_for_built_in_types=true:warning
csharp_style_var_when_type_is_apparent=true:warning
dotnet_sort_system_directives_first=true
dotnet_style_predefined_type_for_locals_parameters_members=true:warning
dotnet_style_predefined_type_for_member_access=true:warning
dotnet_style_require_accessibility_modifiers=never:warning
indent_size=4
indent_style=space
insert_final_newline=true
[*]
# Microsoft .NET properties
csharp_indent_braces=false
csharp_new_line_before_open_brace=none
# ReSharper properties
resharper_place_expr_method_on_single_line=false