Skip to content

Commit a71446b

Browse files
committed
Use NoWarn for RS2007
1 parent 2d6d7c9 commit a71446b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.editorconfig

-5
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,3 @@ dotnet_diagnostic.RS0058.severity = error
317317
dotnet_diagnostic.RS0059.severity = error
318318
dotnet_diagnostic.RS0060.severity = error
319319
dotnet_diagnostic.RS0061.severity = error
320-
321-
[src/{RoslynAnalyzers}/**/*.{cs,vb,md}]
322-
# RS2007: Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header
323-
# Release tables use borders and need https://github.com/dotnet/roslyn-analyzers/pull/7466 to be valid.
324-
dotnet_diagnostic.RS2007.severity = none

src/RoslynAnalyzers/Directory.Build.targets

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
<NoWarn>$(NoWarn);RS2008</NoWarn>
1212
</PropertyGroup>
1313

14+
<PropertyGroup>
15+
<!--
16+
RS2007: Analyzer release file 'AnalyzerReleases.Shipped.md' has a missing or invalid release header.
17+
Release tables use borders and need https://github.com/dotnet/roslyn-analyzers/pull/7466 to be valid.
18+
-->
19+
<NoWarn>$(NoWarn);RS2007</NoWarn>
20+
</PropertyGroup>
21+
1422
<!-- Add License and Third Party Notices files into each VSIX. -->
1523
<ItemGroup>
1624
<Content Include="$(MSBuildThisFileDirectory)\assets\EULA.txt">

0 commit comments

Comments
 (0)