From 253219dd163b37d1f244b8e732b59fd486d899a0 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Thu, 30 Jan 2025 16:35:48 +0800 Subject: [PATCH] Update .editorconfig --- .editorconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 91db7eb4..f19fc984 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ root = true [*] charset = utf-8 -indent_style = tab +indent_style = space tab_width = 4 indent_size = 4 end_of_line = crlf @@ -84,13 +84,13 @@ csharp_style_prefer_readonly_struct_member = true:warning csharp_prefer_braces = true:warning csharp_prefer_simple_using_statement = true:warning csharp_prefer_system_threading_lock = true:warning -csharp_style_namespace_declarations = block_scoped:warning +csharp_style_namespace_declarations = file_scoped:warning csharp_style_prefer_method_group_conversion = true:warning csharp_style_prefer_primary_constructors = true:warning csharp_style_prefer_top_level_statements = false:warning csharp_prefer_simple_default_expression = true:warning csharp_style_deconstructed_variable_declaration = true:warning -csharp_style_implicit_object_creation_when_type_is_apparent = false:warning +csharp_style_implicit_object_creation_when_type_is_apparent = true:warning csharp_style_inlined_variable_declaration = true:warning csharp_style_prefer_index_operator = false:warning csharp_style_prefer_local_over_anonymous_function = true:warning