|
1 | 1 | root = true
|
2 |
| -# EditorConfig: http://EditorConfig.org |
3 |
| - |
4 |
| -# top-most EditorConfig file |
5 | 2 |
|
6 | 3 | [*]
|
7 | 4 | indent_style = space
|
8 | 5 |
|
9 |
| - |
10 | 6 | [*.cs]
|
11 | 7 | indent_size = 4
|
12 | 8 | charset = utf-8
|
13 | 9 |
|
| 10 | +# Redundant accessor body |
| 11 | +resharper_redundant_accessor_body_highlighting = error |
| 12 | + |
| 13 | +# Replace with field keyword |
| 14 | +resharper_replace_with_field_keyword_highlighting = error |
14 | 15 |
|
15 | 16 | # Declare types in namespaces
|
16 |
| -dotnet_diagnostic.CA1050.severity = None |
| 17 | +dotnet_diagnostic.CA1050.severity = none |
17 | 18 |
|
18 | 19 | # Use Literals Where Appropriate
|
19 | 20 | dotnet_diagnostic.CA1802.severity = error
|
20 | 21 |
|
| 22 | +resharper_all_underscore_local_parameter_name_highlighting = none |
| 23 | + |
21 | 24 | # Do not initialize unnecessarily
|
22 | 25 | dotnet_diagnostic.CA1805.severity = error
|
23 | 26 |
|
@@ -147,7 +150,6 @@ dotnet_diagnostic.CA1869.severity = error
|
147 | 150 | # Use a cached 'SearchValues' instance
|
148 | 151 | dotnet_diagnostic.CA1870.severity = error
|
149 | 152 |
|
150 |
| - |
151 | 153 | # Microsoft .NET properties
|
152 | 154 | trim_trailing_whitespace = true
|
153 | 155 | csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
|
@@ -200,7 +202,8 @@ resharper_field_can_be_made_read_only_local_highlighting = none
|
200 | 202 | resharper_merge_into_logical_pattern_highlighting = warning
|
201 | 203 | resharper_merge_into_pattern_highlighting = error
|
202 | 204 | resharper_method_has_async_overload_highlighting = warning
|
203 |
| -resharper_partial_type_with_single_part_highlighting = error |
| 205 | +# because stop rider giving errors before source generators have run |
| 206 | +resharper_partial_type_with_single_part_highlighting = warning |
204 | 207 | resharper_redundant_base_qualifier_highlighting = warning
|
205 | 208 | resharper_redundant_cast_highlighting = error
|
206 | 209 | resharper_redundant_empty_object_creation_argument_list_highlighting = error
|
|
0 commit comments