Skip to content

Commit

Permalink
Disable CA1515
Browse files Browse the repository at this point in the history
Disable noisy CA1515 warning in the ruleset.
  • Loading branch information
martincostello committed Apr 11, 2024
1 parent 9e4e140 commit 8a002c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions TodoApp.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Rule Id="CA1056" Action="None" />
<Rule Id="CA1062" Action="None" />
<Rule Id="CA1303" Action="None" />
<Rule Id="CA1515" Action="None" />
<Rule Id="CA1707" Action="None" />
<Rule Id="CA1711" Action="None" />
<Rule Id="CA1720" Action="None" />
Expand Down
2 changes: 1 addition & 1 deletion src/TodoApp/TodoApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);CA1050;CA1515</NoWarn>
<NoWarn>$(NoWarn);CA1050</NoWarn>
<RootNamespace>TodoApp</RootNamespace>
<TargetFramework>net9.0</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
Expand Down
2 changes: 1 addition & 1 deletion tests/TodoApp.Tests/TodoApp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);CA1515;CA1861</NoWarn>
<NoWarn>$(NoWarn);CA1861</NoWarn>
<RootNamespace>TodoApp</RootNamespace>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
Expand Down

0 comments on commit 8a002c8

Please sign in to comment.