mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
C#: CS1591 from none
to suggestion
This commit is contained in:
parent
571cd0eb79
commit
657d81e056
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user