1- # Remove the line below if you want to inherit .editorconfig settings from higher directories
21root = true
32
4- # C# files
3+ # noinspection EditorConfigKeyCorrectness
54[* .cs ]
6- dotnet_diagnostic.CA1824.severity = none
5+ dotnet_diagnostic.CA1824.severity = warning
6+ dotnet_diagnostic.IDE0005.severity = warning
7+ dotnet_diagnostic.CA1707.severity = warning
8+ dotnet_diagnostic.CA1822.severity = warning
9+ dotnet_diagnostic.CA1416.severity = warning
10+ dotnet_diagnostic.IDE0072.severity = warning
11+ dotnet_diagnostic.IDE0270.severity = warning
12+
13+ # populate switch
14+ dotnet_diagnostic.IDE0010.severity = warning
15+
16+ # fix formatting
717dotnet_diagnostic.IDE0055.severity = none
8- dotnet_diagnostic.IDE0005.severity = none
18+
19+ # if statement can be simplified
20+ dotnet_diagnostic.IDE0046.severity = warning
21+
22+ # expression value never used
923dotnet_diagnostic.IDE0058.severity = none
10- dotnet_diagnostic.CA1707.severity = none
11- dotnet_diagnostic.CA1822.severity = none
12- dotnet_diagnostic.IDE0046.severity = none
13- dotnet_diagnostic.CA1416.severity = none
14- dotnet_diagnostic.IDE0072.severity = none
15- dotnet_diagnostic.IDE0270.severity = none
1624
1725# ### Core EditorConfig Options ####
1826
@@ -264,4 +272,17 @@ charset = utf-8
264272
265273# Set severity = error for all analyzers
266274
267- dotnet_analyzer_diagnostic.severity = error
275+ dotnet_analyzer_diagnostic.severity = error
276+
277+ # resharper rules
278+
279+ resharper_inconsistent_naming_highlighting = none
280+ resharper_built_in_type_reference_style_for_member_access_highlighting = none
281+ resharper_arrange_object_creation_when_type_evident_highlighting = none
282+ resharper_arrange_trailing_comma_in_multiline_lists_highlighting = none
283+ resharper_arrange_trailing_comma_in_singleline_lists_highlighting = none
284+ resharper_comment_typo_highlighting = warning
285+ resharper_identifier_typo_highlighting = warning
286+ resharper_string_literal_typo_highlighting = warning
287+ resharper_unused_type_global_highlighting = warning
288+ resharper_unused_member_global_highlighting = warning
0 commit comments