forked from Mutagen-Modding/Mutagen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
94 lines (82 loc) · 3.98 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[*]
charset = utf-8
end_of_line = crlf
# Microsoft .NET properties
csharp_indent_braces = false
csharp_new_line_before_catch = true
csharp_new_line_before_else = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_open_brace = all
csharp_preferred_modifier_order = internal, public, protected, new, file, required, private, override, static, async, sealed, abstract, extern, unsafe, volatile, readonly, virtual:suggestion
csharp_preserve_single_line_blocks = true
csharp_space_after_cast = false
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:none
# ReSharper properties
resharper_arguments_skip_single = true
resharper_blank_lines_after_block_statements = 0
resharper_blank_lines_after_start_comment = 0
resharper_blank_lines_around_auto_property = 0
resharper_blank_lines_around_property = 0
resharper_blank_lines_around_single_line_type = 0
resharper_braces_for_for = required_for_multiline
resharper_braces_for_ifelse = not_required
resharper_braces_redundant = false
resharper_constructor_or_destructor_body = block_body
resharper_csharp_allow_comment_after_lbrace = true
resharper_csharp_blank_lines_around_field = 0
resharper_csharp_blank_lines_around_invocable = 0
resharper_csharp_blank_lines_around_region = 0
resharper_csharp_blank_lines_inside_region = 0
resharper_csharp_empty_block_style = multiline
resharper_csharp_insert_final_newline = false
resharper_csharp_max_line_length = 307
resharper_csharp_remove_blank_lines_near_braces_in_code = false
resharper_csharp_remove_blank_lines_near_braces_in_declarations = false
resharper_csharp_wrap_multiple_type_parameter_constraints_style = wrap_if_long
resharper_csharp_wrap_ternary_expr_style = wrap_if_long
resharper_force_attribute_style = join
resharper_indent_preprocessor_other = usual_indent
resharper_indent_preprocessor_region = usual_indent
resharper_keep_existing_declaration_parens_arrangement = true
resharper_keep_existing_embedded_arrangement = true
resharper_keep_existing_expr_member_arrangement = true
resharper_method_or_operator_body = block_body
resharper_parentheses_redundancy_style = remove
resharper_parentheses_same_type_operations = true
resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_expr_accessor_on_single_line = true
resharper_place_expr_method_on_single_line = true
resharper_place_expr_property_on_single_line = true
resharper_place_simple_case_statement_on_same_line = false
resharper_place_simple_initializer_on_single_line = false
resharper_space_within_empty_braces = false
resharper_trailing_comma_in_multiline_lists = false
resharper_wrap_after_declaration_lpar = false
resharper_wrap_arguments_style = wrap_if_long
resharper_wrap_array_initializer_style = chop_always
resharper_wrap_object_and_collection_initializer_style = chop_always
resharper_wrap_parameters_style = wrap_if_long
[*.cs]
# CS4014: Task not awaited
dotnet_diagnostic.CS4014.severity = error
# CS1998: Async function does not contain await
dotnet_diagnostic.CS1998.severity = silent
# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = silent
# IDE0060: // Remove unused parameter
dotnet_diagnostic.IDE0060.severity = silent
# CS1066: // Optional parameter has no effect
dotnet_diagnostic.CS1066.severity = silent
# CLASS0001: Seal classes that do not have any virtual or abstract methods, properties, events, or indexers
dotnet_diagnostic.CLASS0001.severity = silent
dotnet_diagnostic.LindhartAnalyserMissingAwaitWarning.severity = error
dotnet_diagnostic.ASYNC0004.severity = silent
dotnet_diagnostic.ASYNC0001.severity = silent
[*.{xml,xsd}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true