-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
50 lines (42 loc) · 1.3 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
################################
# EditorConfig is awesome #
# See: http://EditorConfig.org #
################################
# This file is the top-most EditorConfig file
root = true
# All files
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Define style of doc comments for intentation checks
block_comment_start = /*
block_comment = *
block_comment_end = */
# Exception for .provisionprofile files
[*.provisionprofile]
trim_trailing_whitespace = false
insert_final_newline = false
# Exception for .provisionprofile files
[*.p12]
trim_trailing_whitespace = false
insert_final_newline = false
# Exception for .sln files as they reformat themselves
[*.sln]
charset = utf-8-bom
[*.cs]
indent_size = 4
# ReSharper
resharper_braces_for_foreach = required
resharper_braces_for_ifelse = required
resharper_blank_lines_before_single_line_comment = 1
resharper_place_constructor_initializer_on_same_line = false
resharper_csharp_wrap_after_invocation_lpar = true
resharper_csharp_wrap_arguments_style = wrap_if_long
csharp_space_after_cast = false
resharper_space_within_single_line_array_initializer_braces = true
resharper_space_before_new_parentheses = true
resharper_csharp_space_within_single_line_array_initializer_braces = true