Skip to content

Commit b92d82e

Browse files
authored
Merge pull request #9 from launchdarkly/eb/ch123512/validate-doc-comments
make build fail if XML comments are missing or invalid
2 parents ed8de82 + 5c2a0c3 commit b92d82e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/LaunchDarkly.Logging/LaunchDarkly.Logging.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1717
<IncludeSymbols>true</IncludeSymbols>
1818
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
19+
20+
<!-- fail if XML comments are missing or invalid -->
21+
<WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors>
1922
</PropertyGroup>
2023

2124
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">

0 commit comments

Comments
 (0)