Skip to content

Commit

Permalink
Update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 14, 2023
1 parent 611208f commit 3775115
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ root = true
indent_style = space

[*.cs]
indent_size = 4:error
charset = utf-8-bom:error
indent_size = 4
charset = utf-8-bom

# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true:error
dotnet_sort_system_directives_first = true

# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:error
Expand Down Expand Up @@ -54,11 +54,11 @@ csharp_style_conditional_delegate_call = true:suggestion

# Newline settings
#csharp_new_line_before_open_brace = all:error
csharp_new_line_before_else = true:error
csharp_new_line_before_catch = true:error
csharp_new_line_before_finally = true:error
csharp_new_line_before_members_in_object_initializers = true:error
csharp_new_line_before_members_in_anonymous_types = true:error
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true

#braces
#csharp_prefer_braces = true:error
Expand Down

0 comments on commit 3775115

Please sign in to comment.