diff --git a/src/.editorconfig b/src/.editorconfig index bb59b63e5f..c9db1cb991 100644 --- a/src/.editorconfig +++ b/src/.editorconfig @@ -140,15 +140,17 @@ resharper_wrap_before_binary_pattern_op = false resharper_wrap_object_and_collection_initializer_style = chop_always resharper_place_simple_initializer_on_single_line = false -# space -resharper_space_around_lambda_arrow = true - dotnet_style_require_accessibility_modifiers = never:error resharper_place_type_constraints_on_same_line = false resharper_blank_lines_inside_namespace = 0 resharper_blank_lines_after_file_scoped_namespace_directive = 1 resharper_blank_lines_inside_type = 0 +insert_final_newline = false +resharper_place_attribute_on_same_line = false +resharper_space_around_lambda_arrow = true +resharper_place_constructor_initializer_on_same_line = false + #braces https://www.jetbrains.com/help/resharper/EditorConfig_CSHARP_CSharpCodeStylePageImplSchema.html#Braces resharper_braces_for_ifelse = required resharper_braces_for_foreach = required diff --git a/src/Verify/Serialization/Converters/ClaimConverter.cs b/src/Verify/Serialization/Converters/ClaimConverter.cs index c0547e633c..c9349718a2 100644 --- a/src/Verify/Serialization/Converters/ClaimConverter.cs +++ b/src/Verify/Serialization/Converters/ClaimConverter.cs @@ -15,7 +15,7 @@ public override void Write(VerifyJsonWriter writer, Claim claim) writer.WriteMember(claim, claim.Properties, "Properties"); - if (claim.Subject is {Name: { }}) + if (claim.Subject is {Name: not null}) { writer.WriteMember(claim, claim.Subject, "Subject"); } diff --git a/src/Verify/Verify.csproj b/src/Verify/Verify.csproj index 8e396d0810..1a2435bbdc 100644 --- a/src/Verify/Verify.csproj +++ b/src/Verify/Verify.csproj @@ -17,7 +17,7 @@ - +