From 237ee97a3b109715f95aae97c29813a54785f500 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 11 Nov 2021 12:09:45 -0600 Subject: [PATCH] chore: update .editorconfig --- src/.editorconfig | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/src/.editorconfig b/src/.editorconfig index 287a8e4f..bb4ceb8d 100644 --- a/src/.editorconfig +++ b/src/.editorconfig @@ -1,4 +1,3 @@ - [*] charset = utf-8 end_of_line = crlf @@ -142,7 +141,8 @@ dotnet_diagnostic.ca1716.severity = none dotnet_diagnostic.ca1720.severity = none dotnet_diagnostic.ca1721.severity = warning dotnet_diagnostic.ca1724.severity = warning -dotnet_diagnostic.ca1725.severity = none +dotnet_diagnostic.ca1725.severity = warning +dotnet_diagnostic.ca1800.severity = warning dotnet_diagnostic.ca1801.severity = warning dotnet_diagnostic.ca1802.severity = warning dotnet_diagnostic.ca1805.severity = none @@ -722,7 +722,7 @@ dotnet_naming_style.lower_camel_case_style_1.capitalization = camel_case dotnet_naming_style.t_upper_camel_case_style.capitalization = pascal_case dotnet_naming_style.t_upper_camel_case_style.required_prefix = T dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case -dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public, internal, protected, protected_internal, private_protected dotnet_naming_symbols.constants_symbols.applicable_kinds = field dotnet_naming_symbols.constants_symbols.required_modifiers = const dotnet_naming_symbols.event_symbols.applicable_accessibilities = * @@ -750,16 +750,16 @@ dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field -dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly +dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static, readonly dotnet_naming_symbols.property_symbols.applicable_accessibilities = * dotnet_naming_symbols.property_symbols.applicable_kinds = property -dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public, internal, protected, protected_internal, private_protected dotnet_naming_symbols.public_fields_symbols.applicable_kinds = field -dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected +dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public, internal, protected, protected_internal, private_protected dotnet_naming_symbols.static_readonly_symbols.applicable_kinds = field -dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static,readonly +dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static, readonly dotnet_naming_symbols.types_and_namespaces_symbols.applicable_accessibilities = * -dotnet_naming_symbols.types_and_namespaces_symbols.applicable_kinds = namespace,class,struct,enum,delegate +dotnet_naming_symbols.types_and_namespaces_symbols.applicable_kinds = namespace, class, struct, enum, delegate dotnet_naming_symbols.type_parameters_symbols.applicable_accessibilities = * dotnet_naming_symbols.type_parameters_symbols.applicable_kinds = type_parameter dotnet_separate_import_directive_groups = false @@ -889,9 +889,15 @@ resharper_csharp_insert_final_newline = true resharper_csharp_keep_blank_lines_in_code = 1 resharper_csharp_keep_blank_lines_in_declarations = 1 resharper_csharp_max_line_length = 120 +resharper_csharp_naming_rule.constants = AaBb resharper_csharp_naming_rule.enum_member = AaBb +resharper_csharp_naming_rule.local_constants = aaBb resharper_csharp_naming_rule.method_property_event = AaBb resharper_csharp_naming_rule.other = AaBb +resharper_csharp_naming_rule.private_constants = AaBb +resharper_csharp_naming_rule.private_static_fields = _ + aaBb +resharper_csharp_naming_rule.private_static_readonly = AaBb +resharper_csharp_naming_rule.static_readonly = AaBb resharper_csharp_new_line_before_while = false resharper_csharp_prefer_qualified_reference = false resharper_csharp_space_after_unary_operator = false @@ -929,7 +935,7 @@ resharper_function_declaration_return_type_style = do_not_change resharper_function_definition_return_type_style = do_not_change resharper_generator_mode = false resharper_html_attribute_indent = align_by_first_attribute -resharper_html_linebreak_before_elements = body,div,p,form,h1,h2,h3 +resharper_html_linebreak_before_elements = body, div, p, form, h1, h2, h3 resharper_html_max_blank_lines_between_tags = 2 resharper_html_max_line_length = 120 resharper_html_pi_attribute_style = on_single_line @@ -1015,7 +1021,7 @@ resharper_new_line_before_catch = true resharper_new_line_before_else = true resharper_new_line_before_enumerators = true resharper_normalize_tag_names = false -resharper_no_indent_inside_elements = html,body,thead,tbody,tfoot +resharper_no_indent_inside_elements = html, body, thead, tbody, tfoot resharper_no_indent_inside_if_element_longer_than = 200 resharper_object_creation_when_type_evident = target_typed resharper_object_creation_when_type_not_evident = explicitly_typed @@ -1053,7 +1059,7 @@ resharper_place_type_attribute_on_same_line = false resharper_place_type_constraints_on_same_line = true resharper_prefer_explicit_discard_declaration = false resharper_prefer_separate_deconstructed_variables_declaration = false -resharper_preserve_spaces_inside_tags = pre,textarea +resharper_preserve_spaces_inside_tags = pre, textarea resharper_qualified_using_at_nested_scope = false resharper_quote_style = doublequoted resharper_razor_prefer_qualified_reference = true @@ -1277,7 +1283,7 @@ resharper_wrap_switch_expression = chop_always resharper_wrap_ternary_expr_style = chop_if_long resharper_wrap_verbatim_interpolated_strings = no_wrap resharper_xmldoc_attribute_indent = single_indent -resharper_xmldoc_linebreak_before_elements = summary,remarks,example,returns,param,typeparam,value,para +resharper_xmldoc_linebreak_before_elements = summary, remarks, example, returns, param, typeparam, value, para resharper_xmldoc_max_blank_lines_between_tags = 0 resharper_xmldoc_max_line_length = 100 resharper_xmldoc_pi_attribute_style = do_not_touch @@ -3614,3 +3620,12 @@ indent_size = 2 indent_style = space indent_size = 4 tab_width = 4 + +[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}] +indent_style = space +indent_size = 2 + +[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,hlsl,hlsli,hlslinc,master,nuspec,paml,razor,resw,resx,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}] +indent_style = space +indent_size = 4 +tab_width = 4