Skip to content

Commit

Permalink
Move suppressions
Browse files Browse the repository at this point in the history
Move suppressions from NoWarn to `.ruleset`.
  • Loading branch information
martincostello committed May 21, 2024
1 parent 6d25c06 commit e1243be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AwsLambdaTestServer.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<IncludeAll Action="Warning" />
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
<Rule Id="CA1303" Action="None" />
<Rule Id="CA1515" Action="None" />
<Rule Id="CA1848" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="AD0001" Action="None" />
Expand Down
1 change: 0 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<LangVersion>latest</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NeutralLanguage>en-US</NeutralLanguage>
<NoWarn>$(NoWarn);CA1515;CA1848</NoWarn>
<!-- TODO Re-enable when .NET 9 is stable -->
<NoWarn>$(NoWarn);NU5104</NoWarn>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit e1243be

Please sign in to comment.