-
Notifications
You must be signed in to change notification settings - Fork 7
/
.editorconfig
102 lines (79 loc) · 3.18 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = crlf
[*.{cs,csx,xaml,cake,tt}]
indent_size = 4
indent_style = space
[*.{config,nuspec,resx}]
indent_size = 2
indent_style = space
[*.{csproj,vcxproj,props,targets}]
indent_size = 2
indent_style = space
[*.sln]
indent_style = tab
[*.md]
trim_trailing_whitespace = false
[*.{received,verified}.{txt,cs}]
trim_trailing_whitespace = false
insert_final_newline = false
### dotnet settings
[*.cs]
# "this" qualification
dotnet_style_qualification_for_event = false:warning
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_method = false:warning
dotnet_style_qualification_for_property = false:warning
# Use language keywords vs BCL type names
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
# Modifiers
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
dotnet_style_readonly_field = true:suggestion
### Naming rules
# Rules
dotnet_naming_rule.non_public_fields_should_be_underscore_camel_case.symbols = non_public_fields
dotnet_naming_rule.non_public_fields_should_be_underscore_camel_case.style = underscore_camel_case
dotnet_naming_rule.non_public_fields_should_be_underscore_camel_case.severity = warning
# Symbols
dotnet_naming_symbols.non_public_fields.applicable_accessibilities = private, protected, private_protected
dotnet_naming_symbols.non_public_fields.applicable_kinds = field
# Styles
dotnet_naming_style.underscore_camel_case.capitalization = camel_case
dotnet_naming_style.underscore_camel_case.required_prefix = _
### csharp settings
[*.cs]
csharp_indent_labels = no_change
csharp_prefer_braces = false
### ReSharper settings (these need to be in a [*] section)
[*]
resharper_align_linq_query = true
resharper_align_multiline_argument = true
resharper_align_multiline_calls_chain = true
resharper_align_multiline_extends_list = true
resharper_align_multiline_parameter = true
resharper_align_multiple_declaration = true
resharper_align_multline_type_parameter_constrains = true
resharper_align_multline_type_parameter_list = true
resharper_align_tuple_components = true
resharper_int_align_switch_expressions = true
resharper_indent_raw_literal_string = do_not_change
resharper_csharp_keep_blank_lines_in_code = 1
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_keep_existing_attribute_arrangement = true
resharper_keep_existing_embedded_arrangement = false
resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_constructor_initializer_on_same_line = false
resharper_place_field_attribute_on_same_line = false
resharper_place_simple_embedded_statement_on_same_line = false
resharper_csharp_place_type_constraints_on_same_line = false
resharper_csharp_wrap_parameters_style = chop_if_long
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_new_line_before_while = true
resharper_csharp_stick_comment = false
resharper_wrap_before_arrow_with_expressions = true
resharper_csharp_wrap_before_binary_opsign = true
resharper_csharp_wrap_multiple_type_parameter_constraints_style = chop_always
resharper_wrap_tags_and_pi = false