summaryrefslogtreecommitdiff
path: root/modules/mono/glue/GodotSharp/.editorconfig
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <ignalfonsore@gmail.com>2021-12-28 23:25:16 +0100
committerIgnacio Roldán Etcheverry <ignalfonsore@gmail.com>2022-08-22 03:36:51 +0200
commite5e7a795b14487e7eb0cfb011a8e0518769ce533 (patch)
tree57a0322ef0c11d8944f9a95708d243dcc3e4c5a4 /modules/mono/glue/GodotSharp/.editorconfig
parent34db8d2c6c4d2c714772479145c235c9f4189bdb (diff)
C#: Code cleanup and greatly reduce use of C# pointers
Diffstat (limited to 'modules/mono/glue/GodotSharp/.editorconfig')
-rw-r--r--modules/mono/glue/GodotSharp/.editorconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/mono/glue/GodotSharp/.editorconfig b/modules/mono/glue/GodotSharp/.editorconfig
new file mode 100644
index 0000000000..d4e71b1bd9
--- /dev/null
+++ b/modules/mono/glue/GodotSharp/.editorconfig
@@ -0,0 +1,8 @@
+[**/Generated/**.cs]
+# 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
+dotnet_diagnostic.CA1069.severity = none
+# CA1708: Identifiers should differ by more than case
+dotnet_diagnostic.CA1708.severity = none