Skip to content

Commit

Permalink
modify to add to common NoWarn properties in the prop file
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Apr 3, 2024
1 parent 71e2e65 commit 54636a3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 1 addition & 3 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,5 @@ SPDX-License-Identifier: MIT
/>
</ItemGroup>

<!-- disables code style/code analysis warnings configured by Smdn.MSBuild.ProjectAssets.Common -->
<PropertyGroup>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)NoWarn.props" />
</Project>
12 changes: 12 additions & 0 deletions src/NoWarn.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
SPDX-FileCopyrightText: 2024 smdn <smdn@smdn.jp>
SPDX-License-Identifier: MIT
-->
<Project>
<!-- suppress warnings relevant to XML comment documents as defined by StyleCop Analyzers -->
<PropertyGroup>
<NoWarn>SA1623;$(NoWarn)</NoWarn> <!-- SA1623: The property's documentation summary text should begin with: 'Gets' -->
<NoWarn>SA1629;$(NoWarn)</NoWarn> <!-- SA1629: Documentation text should end with a period -->
<NoWarn>SA1642;$(NoWarn)</NoWarn> <!-- SA1642: Constructor summary documentation should begin with standard text -->
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ SPDX-License-Identifier: MIT
<Message Text="MasterData: '%(EmbeddedResource.LogicalName)'" Importance="low"/>
</Target>

<!-- disables code style/code analysis warnings configured by Smdn.MSBuild.ProjectAssets.Library -->
<PropertyGroup>
<NoWarn>SA1623;SA1629;SA1642;$(NoWarn)</NoWarn>
</PropertyGroup>

<Target Name="GenerateReadmeFileContent">
<PropertyGroup>
<PackageReadmeFileContent><![CDATA[# $(PackageId) $(PackageVersion)
Expand Down
5 changes: 0 additions & 5 deletions src/Smdn.Net.EchonetLite/Smdn.Net.EchonetLite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ SPDX-License-Identifier: MIT
<ProjectOrPackageReference ReferencePackageVersion="1.0.0" Include="..\Smdn.Net.EchonetLite.Appendix\Smdn.Net.EchonetLite.Appendix.csproj" />
</ItemGroup>

<!-- disables code style/code analysis warnings configured by Smdn.MSBuild.ProjectAssets.Library -->
<PropertyGroup>
<NoWarn>SA1623;SA1629;SA1642;$(NoWarn)</NoWarn>
</PropertyGroup>

<Target Name="GenerateReadmeFileContent">
<PropertyGroup>
<PackageReadmeFileContent><![CDATA[# $(PackageId) $(PackageVersion)
Expand Down

0 comments on commit 54636a3

Please sign in to comment.