Skip to content

Commit 038e3ec

Browse files
committed
suppresses specific SonarAnalyzer warning
suppresses S4136 in multiple projects to avoid noisy warnings related to method overloads.
1 parent a0f246d commit 038e3ec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ dotnet_diagnostic.rcs1037.severity = error
170170
# RCS1036: Remove redundant empty line.
171171
dotnet_diagnostic.rcs1036.severity = error
172172

173+
dotnet_diagnostic.S2325.severity = none
174+
dotnet_diagnostic.S4136.severity = none
175+
173176
xml_space_before_self_closing = true
174177

175178
resharper_arrange_object_creation_when_type_not_evident_highlighting = none

new-cli/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
88
<ImplicitUsings>enable</ImplicitUsings>
9-
<NoWarn>8625;2254;IDE0005</NoWarn>
9+
<NoWarn>$(NoWarn);CS8625;CS2254;IDE0005</NoWarn>
1010

1111
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
1212
<EnableNETAnalyzers>true</EnableNETAnalyzers>

0 commit comments

Comments
 (0)