diff --git a/scriptsharp/.editorconfig b/scriptsharp/.editorconfig new file mode 100644 index 0000000..5b401f0 --- /dev/null +++ b/scriptsharp/.editorconfig @@ -0,0 +1,28 @@ + +[*] + +# Microsoft .NET properties +csharp_new_line_before_members_in_object_initializers = false +csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, async, override, extern, unsafe, volatile, readonly, required:suggestion +csharp_preserve_single_line_blocks = true + +# ReSharper properties +resharper_blank_lines_after_block_statements = 0 +resharper_braces_for_foreach = required +resharper_braces_for_using = not_required +resharper_braces_redundant = false +resharper_csharp_blank_lines_around_invocable = 0 +resharper_csharp_blank_lines_around_single_line_invocable = 1 +resharper_csharp_indent_invocation_pars = outside +resharper_csharp_keep_existing_enum_arrangement = false +resharper_csharp_max_line_length = 176 +resharper_csharp_remove_blank_lines_near_braces_in_declarations = false +resharper_csharp_wrap_multiple_declaration_style = chop_always +resharper_default_internal_modifier = implicit +resharper_for_other_types = use_var +resharper_object_creation_when_type_evident = explicitly_typed +resharper_parentheses_redundancy_style = remove +resharper_place_simple_embedded_statement_on_same_line = true +resharper_wrap_array_initializer_style = chop_always +resharper_wrap_chained_binary_expressions = chop_if_long +resharper_wrap_object_and_collection_initializer_style = chop_always