From 657d81e05625632f033f7fb2db592ca7f86fe932 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Tue, 19 Sep 2023 09:37:02 -0500 Subject: [PATCH] C#: CS1591 from `none` to `suggestion` --- modules/mono/glue/GodotSharp/.editorconfig | 7 ++++++- modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/mono/glue/GodotSharp/.editorconfig b/modules/mono/glue/GodotSharp/.editorconfig index d0c660de4ce..df4a6c2d0d7 100644 --- a/modules/mono/glue/GodotSharp/.editorconfig +++ b/modules/mono/glue/GodotSharp/.editorconfig @@ -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 diff --git a/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj b/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj index 8a36b3e5140..a55b8d693b6 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj +++ b/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj @@ -11,9 +11,6 @@ 10 Recommended - - - CS1591 Godot C# Core API.