diff --git a/.editorconfig b/.editorconfig index f95dd30b06a..c73c66ab9ba 100644 --- a/.editorconfig +++ b/.editorconfig @@ -28,6 +28,9 @@ dotnet_code_quality.CA1000.api_surface = private, internal # S2094 // Classes should not be empty dotnet_diagnostic.S2094.severity = suggestion +# SA1402 // File may only contain a single type +dotnet_diagnostic.SA1402.severity = none + # S4023 // Interfaces should not be empty dotnet_diagnostic.S4023.severity = suggestion diff --git a/src/Polly/Polly.csproj b/src/Polly/Polly.csproj index a5967de5476..5e79ec03fb5 100644 --- a/src/Polly/Polly.csproj +++ b/src/Polly/Polly.csproj @@ -7,7 +7,7 @@ Library 70 true - $(NoWarn);S3872;SA1402;SA1414;S3215 + $(NoWarn);S3872;SA1414;S3215 $(NoWarn);IDE1006;CA1062;CA1068;S4039;CA1063;CA1031;CA1051 $(NoWarn);CA2211;S2223;CA1032;CA1815;CA1816;S4457;SA1615;CA1033 $(NoWarn);CA1010;S3442;CA1064;SA1649;SA1623;SA1118