C#: CS1591 from none to suggestion

This commit is contained in:
Thaddeus Crews 2023-09-19 09:37:02 -05:00
parent 571cd0eb79
commit 657d81e056
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,5 @@
[**/Generated/**.cs]
# Validate parameter is non-null before using it
# CA1062: Validate parameter is non-null before using it
# Useful for generated code, as it disables nullable
dotnet_diagnostic.CA1062.severity = error
# CA1069: Enums should not have duplicate values
@ -10,3 +10,8 @@ dotnet_diagnostic.CA1708.severity = none
dotnet_diagnostic.CS1591.severity = none
# CS1573: Parameter has no matching param tag in the XML comment
dotnet_diagnostic.CS1573.severity = none
[GodotSharp/Core/**.cs]
# CS1591: Missing XML comment for publicly visible type or member
# TODO: Temporary change to not pollute the warnings, but we need to document public APIs
dotnet_diagnostic.CS1591.severity = suggestion

View file

@ -11,9 +11,6 @@
<LangVersion>10</LangVersion>
<AnalysisMode>Recommended</AnalysisMode>
<!-- Disabled temporarily as it pollutes the warnings, but we need to document public APIs. -->
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<Description>Godot C# Core API.</Description>