diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8b38440 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,117 @@ + +[*.{appxmanifest,axml,build,config,cs,csproj,dbml,discomap,dtd,jsproj,lsproj,njsproj,nuspec,proj,props,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}] +indent_style = tab +indent_size = tab +tab_width = 4 + +[*.{asax,ascx,aspx,axaml,cshtml,css,htm,html,master,paml,razor,skin,vb,xaml,xamlx,xoml}] +indent_style = space +indent_size = 4 +tab_width = 4 + +[*] + +# Microsoft .NET properties +csharp_new_line_before_members_in_object_initializers = false +csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:none +csharp_space_after_keywords_in_control_flow_statements = false +csharp_style_namespace_declarations = block_scoped:warning +csharp_style_var_elsewhere = false:suggestion +csharp_style_var_for_built_in_types = false:suggestion +csharp_style_var_when_type_is_apparent = false:suggestion +csharp_using_directive_placement = inside_namespace:silent +dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined +dotnet_naming_rule.private_constants_rule.severity = warning +dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style +dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols +dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined +dotnet_naming_rule.private_instance_fields_rule.severity = warning +dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style +dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols +dotnet_naming_rule.private_static_fields_rule.import_to_resharper = as_predefined +dotnet_naming_rule.private_static_fields_rule.severity = warning +dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style +dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols +dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined +dotnet_naming_rule.private_static_readonly_rule.severity = warning +dotnet_naming_rule.private_static_readonly_rule.style = upper_camel_case_style +dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols +dotnet_naming_style.lower_camel_case_style.capitalization = camel_case +dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case +dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private +dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field +dotnet_naming_symbols.private_constants_symbols.required_modifiers = const +dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private +dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field +dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private +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_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none +dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none +dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion +dotnet_style_predefined_type_for_member_access = true:suggestion +dotnet_style_qualification_for_event = true:none +dotnet_style_qualification_for_field = true:none +dotnet_style_qualification_for_method = true:none +dotnet_style_qualification_for_property = true:none +dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion + +# ReSharper properties +resharper_alignment_tab_fill_style = optimal_fill +resharper_align_linq_query = true +resharper_align_multiline_binary_expressions_chain = false +resharper_align_multiple_declaration = true +resharper_apply_auto_detected_rules = false +resharper_braces_for_for = required +resharper_braces_for_foreach = required +resharper_braces_for_ifelse = required +resharper_braces_for_while = required +resharper_csharp_allow_alias = false +resharper_csharp_indent_style = tab +resharper_csharp_insert_final_newline = true +resharper_csharp_max_line_length = 160 +resharper_csharp_use_indent_from_vs = false +resharper_csharp_wrap_lines = false +resharper_indent_nested_fixed_stmt = true +resharper_indent_nested_foreach_stmt = true +resharper_indent_nested_for_stmt = true +resharper_indent_nested_lock_stmt = true +resharper_indent_nested_usings_stmt = true +resharper_indent_nested_while_stmt = true +resharper_new_line_before_while = true +resharper_object_creation_when_type_evident = explicitly_typed +resharper_outdent_statement_labels = true +resharper_parentheses_non_obvious_operations = none +resharper_place_accessorholder_attribute_on_same_line = false +resharper_place_linq_into_on_new_line = false +resharper_place_simple_anonymousmethod_on_single_line = false +resharper_place_simple_initializer_on_single_line = false +resharper_prefer_separate_deconstructed_variables_declaration = true +resharper_qualified_using_at_nested_scope = true +resharper_wrap_before_first_type_parameter_constraint = true + +# ReSharper inspection severities +resharper_arrange_default_value_when_type_not_evident_highlighting = suggestion +resharper_arrange_object_creation_when_type_not_evident_highlighting = warning +resharper_arrange_redundant_parentheses_highlighting = hint +resharper_arrange_static_member_qualifier_highlighting = none +resharper_arrange_trailing_comma_in_multiline_lists_highlighting = none +resharper_arrange_trailing_comma_in_singleline_lists_highlighting = none +resharper_convert_to_using_declaration_highlighting = none +resharper_html_obsolete_highlighting = hint +resharper_html_path_error_highlighting = none +resharper_html_tag_not_resolved_highlighting = none +resharper_not_resolved_in_text_highlighting = none +resharper_nullable_warning_suppression_is_used_highlighting = warning +resharper_redundant_base_qualifier_highlighting = suggestion +resharper_redundant_explicit_array_creation_highlighting = none +resharper_redundant_explicit_params_array_creation_highlighting = none +resharper_redundant_extends_list_entry_highlighting = none +resharper_redundant_name_qualifier_highlighting = none +resharper_redundant_type_arguments_of_method_highlighting = hint +resharper_suggest_discard_declaration_var_style_highlighting = none +resharper_unused_auto_property_accessor_global_highlighting = none diff --git a/Fluxera.Temporal.sln b/Fluxera.Temporal.sln index ef4fc79..324ceb8 100644 --- a/Fluxera.Temporal.sln +++ b/Fluxera.Temporal.sln @@ -5,6 +5,7 @@ VisualStudioVersion = 17.0.31919.166 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".items", ".items", "{75AC41E9-2B8B-4D76-A7DF-A18F4FB9D6D6}" ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig .gitignore = .gitignore azure-pipelines.yml = azure-pipelines.yml GitVersion.yml = GitVersion.yml