Skip to content

Commit

Permalink
editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreOlivierBrillant committed Oct 16, 2024
1 parent 22f460f commit 61604dd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions scriptsharp/.editorconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 61604dd

Please sign in to comment.