Skip to content

Commit

Permalink
Refactor warnings handling and update documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Jan 24, 2025
1 parent ac57120 commit 47a3062
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
<NoWarn>$(NoWarn);Uno0001</NoWarn>

<!-- See https://github.com/CommunityToolkit/Labs-Windows/pull/605#issuecomment-2498743676 -->
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904;CS1591;CS1574</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904;</WarningsNotAsErrors>

<!-- Labs only: No error for 'Missing XML comment for publicly visible type or member' -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591;CS1574;</WarningsNotAsErrors>

<!-- See https://github.com/CommunityToolkit/Windows/pull/609#issuecomment-2613505591 -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS0419;CS1570;</WarningsNotAsErrors>
</PropertyGroup>

<Import Project="Windows.Toolkit.Common.props" />
Expand Down
2 changes: 1 addition & 1 deletion components/MarkdownTextBlock/src/TextElements/MyList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void AddChild(IAddChild child)

private BulletType ToBulletType(char bullet)
{
/// Gets or sets the type of the bullet (e.g: '1', 'a', 'A', 'i', 'I').
// Gets or sets the type of the bullet (e.g: '1', 'a', 'A', 'i', 'I').
switch (bullet)
{
case '1':
Expand Down
2 changes: 1 addition & 1 deletion components/RivePlayer/src/StateMachineInputCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace CommunityToolkit.Labs.WinUI.Rive;
///
/// <rive:RivePlayer Source="...">
/// <!-- Adds this input to the StateMachineInputCollection. -->
/// <rive:BoolInput Target=... />
/// <rive:BoolInput Target="..." />
/// </rive:RivePlayer>
///
/// </summary>
Expand Down

0 comments on commit 47a3062

Please sign in to comment.