From 98eda48a0812b629276bf13074f9c9e918c5d0ea Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Wed, 11 Dec 2024 12:59:32 +1100 Subject: [PATCH] refs or cleanup --- src/.editorconfig | 8 +++++++- src/Directory.Packages.props | 2 +- src/Shared.sln.DotSettings | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/.editorconfig b/src/.editorconfig index d6d101e..0302622 100644 --- a/src/.editorconfig +++ b/src/.editorconfig @@ -11,6 +11,11 @@ indent_style = space indent_size = 4 charset = utf-8 +# Redundant accessor body +resharper_redundant_accessor_body_highlighting = error + +# Replace with field keyword +resharper_replace_with_field_keyword_highlighting = error # Declare types in namespaces dotnet_diagnostic.CA1050.severity = None @@ -200,7 +205,8 @@ resharper_field_can_be_made_read_only_local_highlighting = none resharper_merge_into_logical_pattern_highlighting = warning resharper_merge_into_pattern_highlighting = error resharper_method_has_async_overload_highlighting = warning -resharper_partial_type_with_single_part_highlighting = error +# because stop rider giving errors before source generators have run +resharper_partial_type_with_single_part_highlighting = warning resharper_redundant_base_qualifier_highlighting = warning resharper_redundant_cast_highlighting = error resharper_redundant_empty_object_creation_argument_list_highlighting = error diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 525b99e..925d8a0 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -6,7 +6,7 @@ - + diff --git a/src/Shared.sln.DotSettings b/src/Shared.sln.DotSettings index a10bd3a..a9348d3 100644 --- a/src/Shared.sln.DotSettings +++ b/src/Shared.sln.DotSettings @@ -1,4 +1,6 @@  + False + Quiet True True True