From c101cc83a79e8141ff3992f9d64dd44d74933347 Mon Sep 17 00:00:00 2001 From: routersys Date: Sat, 26 Sep 2026 00:36:35 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A8=E3=83=87=E3=82=A3=E3=82=BF=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E3=82=B3=E3=83=BC=E3=83=89=E8=A6=8F=E5=89=87=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++ UTAU.slnx | 3 ++ 2 files changed, 80 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..829312e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,77 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +tab_width = 4 +end_of_line = crlf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{json,yml,yaml}] +indent_size = 2 + +[*.{csproj,props,targets,vcxproj,filters,slnx,resx,xml}] +charset = unset +indent_style = unset +indent_size = unset + +[*.md] +trim_trailing_whitespace = false + +[*.cs] +dotnet_separate_import_directive_groups = false +dotnet_sort_system_directives_first = true + +dotnet_style_qualification_for_field = false:error +dotnet_style_qualification_for_property = false:error +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_event = false:error +dotnet_style_predefined_type_for_locals_parameters_members = true:error +dotnet_style_predefined_type_for_member_access = true:error +dotnet_style_readonly_field = true:warning +dotnet_style_coalesce_expression = true:suggestion +dotnet_style_null_propagation = true:suggestion +dotnet_style_object_initializer = true:suggestion +dotnet_style_collection_initializer = true:suggestion +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning +dotnet_style_operator_placement_when_wrapping = beginning_of_line +dotnet_code_quality_unused_parameters = all:warning + +csharp_style_namespace_declarations = file_scoped:error +csharp_using_directive_placement = outside_namespace:error +csharp_prefer_braces = when_multiline:silent +csharp_style_var_for_built_in_types = true:silent +csharp_style_var_when_type_is_apparent = true:silent +csharp_style_var_elsewhere = true:silent +csharp_style_expression_bodied_methods = when_on_single_line:silent +csharp_style_expression_bodied_properties = true:silent +csharp_style_expression_bodied_accessors = true:silent +csharp_style_prefer_pattern_matching = true:suggestion +csharp_style_prefer_not_pattern = true:suggestion +csharp_style_prefer_switch_expression = true:suggestion +csharp_style_prefer_readonly_struct = true:warning +csharp_style_prefer_readonly_struct_member = true:warning +csharp_prefer_static_local_function = true:warning +csharp_style_prefer_primary_constructors = true:silent + +csharp_new_line_before_open_brace = all +csharp_new_line_before_else = true +csharp_new_line_before_catch = true +csharp_new_line_before_finally = true + +dotnet_diagnostic.IDE0005.severity = warning +dotnet_diagnostic.IDE0055.severity = warning +dotnet_diagnostic.IDE0161.severity = error + +[{YMM4-GitHubUpdateNotifier,YMM4-Telemetry,YukkuriMovieMaker.Generator}/**] +dotnet_diagnostic.IDE0005.severity = none +dotnet_diagnostic.IDE0055.severity = none +dotnet_diagnostic.IDE0161.severity = none + +[*.{g.cs,designer.cs}] +generated_code = true +dotnet_diagnostic.IDE0005.severity = none +dotnet_diagnostic.IDE0055.severity = none +dotnet_diagnostic.IDE0161.severity = none diff --git a/UTAU.slnx b/UTAU.slnx index 1af3c4a..490f374 100644 --- a/UTAU.slnx +++ b/UTAU.slnx @@ -1,4 +1,7 @@ + + +