summaryrefslogtreecommitdiff
path: root/modules/mono/glue/GodotSharp/.editorconfig
diff options
context:
space:
mode:
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