Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Commit 3d08794

Browse files
committed
Add .editorconfig specification
1 parent 25c70e9 commit 3d08794

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.editorconfig

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
trim_trailing_whitespace = true
6+
7+
[*.resx]
8+
end_of_line = crlf
9+
10+
[*.{xml,axml}]
11+
end_of_line = lf
12+
indent_style = space
13+
indent_size = tab
14+
tab_size = 4
15+
16+
[*.config]
17+
end_of_line = crlf
18+
19+
[*.cs]
20+
end_of_line = lf
21+
indent_style = space
22+
indent_size = tab
23+
tab_size = 4
24+
25+
dotnet_style_predefined_type_for_locals_parameters_members = true
26+
dotnet_style_predefined_type_for_member_access = true
27+
28+
csharp_style_inlined_variable_declaration = true
29+
csharp_style_conditional_delegate_call = true
30+
csharp_prefer_braces = true
31+
32+
dotnet_sort_system_directives_first = true
33+
34+
csharp_new_line_before_open_brace = false
35+
csharp_new_line_before_else = true
36+
csharp_new_line_before_catch = true
37+
csharp_new_line_before_finally = true
38+
csharp_new_line_before_members_in_object_initializers = false
39+
csharp_indent_case_contents = true
40+
csharp_indent_switch_labels = true
41+
42+
csharp_space_after_cast = false
43+
csharp_space_after_keywords_in_control_flow_statements = false
44+
csharp_space_between_method_declaration_parameter_list_parentheses = false
45+
csharp_space_between_method_call_parameter_list_parentheses = false
46+
csharp_preserve_single_line_blocks = true

0 commit comments

Comments
 (0)