-
Notifications
You must be signed in to change notification settings - Fork 9
/
.editorconfig
33 lines (29 loc) · 1.07 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference?view=vs-2017
###############################
# Core EditorConfig Options #
###############################
root = true
###############################
# File Formatting Options #
###############################
[*.cs]
indent_style = tab
indent_size = 4
charset = utf-8
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
###############################
# C# Formatting Rules #
###############################
csharp_new_line_before_open_brace = all
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_call_parameter_list_parentheses = true
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_parentheses = control_flow_statements
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
###############################
# .NET Naming Conventions #
###############################