Skip to content

Commit 467d0b6

Browse files
committed
Adjust formatting rule in editorConfig
1 parent 8a1d854 commit 467d0b6

File tree

2 files changed

+5
-39
lines changed

2 files changed

+5
-39
lines changed

.editorconfig

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ indent_style = space
99
indent_size = 4
1010
end_of_line = crlf
1111
charset = utf-8
12-
trim_trailing_whitespace = false
12+
trim_trailing_whitespace = true
1313
insert_final_newline = false
1414

1515
# C# files
1616
[*.cs]
1717
# C# formatting options: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/csharp-formatting-options
18-
csharp_new_line_before_open_brace = none
19-
csharp_new_line_before_else = false
20-
csharp_new_line_before_catch = false
21-
csharp_new_line_before_finally = false
18+
csharp_new_line_before_open_brace = all
19+
csharp_new_line_before_else = true
20+
csharp_new_line_before_catch = true
21+
csharp_new_line_before_finally = true
2222
csharp_new_line_before_members_in_object_initializers = true
2323
csharp_new_line_before_members_in_anonymous_types = true
2424
csharp_new_line_between_query_expression_clauses = true

Demo/API_V2/.editorconfig

-34
This file was deleted.

0 commit comments

Comments
 (0)