Skip to content

Commit

Permalink
Suppress CA1861
Browse files Browse the repository at this point in the history
Cherry-pick change from #412 to suppress CA1861 in tests.
  • Loading branch information
martincostello committed Jun 16, 2023
1 parent ac599e3 commit 630dc8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Description>Tests for MartinCostello.Logging.XUnit.</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>$(NoWarn);CA1062;CA1707;CA1711;CA2007;CA2234;SA1600;SA1602</NoWarn>
<NoWarn>$(NoWarn);CA1062;CA1707;CA1711;CA1861;CA2007;CA2234;SA1600;SA1602</NoWarn>
<PreserveCompilationContext>true</PreserveCompilationContext>
<RootNamespace>MartinCostello.Logging.XUnit</RootNamespace>
<Summary>$(Description)</Summary>
Expand Down
2 changes: 1 addition & 1 deletion tests/SampleApp/SampleApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);CA1801;CA1822;SA1600</NoWarn>
<NoWarn>$(NoWarn);CA1801;CA1822;CA1861;SA1600</NoWarn>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
</Project>

0 comments on commit 630dc8d

Please sign in to comment.