Browse Source

Also configure it for rider/resharper

pull/2951/head
Stefan Nikolei 11 months ago
parent
commit
946c0c468e
  1. 8
      .editorconfig

8
.editorconfig

@ -161,9 +161,6 @@ csharp_style_deconstructed_variable_declaration = true:warning
csharp_style_prefer_index_operator = true:warning
csharp_style_prefer_range_operator = true:warning
csharp_style_implicit_object_creation_when_type_is_apparent = true:error
# Collection expression preferences
# dotnet_style_prefer_collection_expression = true:error
# "Null" checking preferences
csharp_style_throw_expression = true:warning
csharp_style_conditional_delegate_call = true:warning
@ -178,11 +175,6 @@ csharp_prefer_static_local_function = true:warning
# Primary constructor preferences
csharp_style_prefer_primary_constructors = false:none
# ReSharper inspection severities
resharper_arrange_object_creation_when_type_evident_highlighting = error
resharper_arrange_object_creation_when_type_not_evident_highlighting = error
# resharper_use_collection_expression_highlighting = error
##########################################
# Unnecessary Code Rules
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/unnecessary-code-rules

Loading…
Cancel
Save