Skip to content

Commit

Permalink
refs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Oct 5, 2023
1 parent 8d1932c commit b35f758
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Serialization/Converters/ClaimConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="ConfigureAwait.Fody" Version="3.3.2" PrivateAssets="All" />
<PackageReference Include="Fody" Version="6.8.0" PrivateAssets="All" />
<PackageReference Include="SimpleInfoName" Version="2.1.1" />
<PackageReference Include="Argon" Version="0.11.0" />
<PackageReference Include="Argon" Version="0.12.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" Condition="$(Configuration) == 'Release'" />
<PackageReference Include="ProjectDefaults" Version="1.0.100" PrivateAssets="all" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" Condition="$(TargetFramework.StartsWith('net46'))" />
Expand Down

0 comments on commit b35f758

Please sign in to comment.