Skip to content

Commit

Permalink
Code analysis fixes (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBoike authored Feb 11, 2025
1 parent 4d7ba36 commit f1a9d07
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
4 changes: 4 additions & 0 deletions .repointegrity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ignore:
# Already released targeting .NET 7
- test: ComponentShouldTargetDotNetLtsVersion
path: src/NServiceBus.AwsLambda.SQS/NServiceBus.AwsLambda.SQS.csproj
14 changes: 14 additions & 0 deletions src/NServiceBus.AwsLambda.SQS.Analyzer.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[*.cs]

# Use pattern matching (may change code meaning)
dotnet_diagnostic.IDE0078.severity = none

# Use pattern matching
dotnet_diagnostic.IDE0083.severity = none

# Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = none

# Convert switch statement to expression
dotnet_diagnostic.IDE0066.severity = none

11 changes: 0 additions & 11 deletions src/NServiceBus.AwsLambda.SQS.Analyzer.Tests/GlobalSuppressions.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit f1a9d07

Please sign in to comment.