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