This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.editorconfig
203 lines (160 loc) · 5.9 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
# Editor configuration, see http://editorconfig.org
root = true
[*.sol]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=false
indent_style=space
indent_size=4
max_line_length=200
spaces_around_operators=true
indent_brace_style=K&R
end_of_line=crlf
[*.csproj]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=false
indent_style=space
max_line_length=200
indent_size=2
end_of_line=crlf
[*.xml]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=false
indent_style=space
max_line_length=200
indent_size=2
end_of_line=crlf
[*.sql]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=false
indent_style=space
max_line_length=200
indent_size=2
end_of_line=crlf
[*.ruleset]
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=false
indent_style=space
indent_size=4
max_line_length = off
[*.yml]
charset=utf-8
trim_trailing_whitespace=true
indent_style=space
indent_size=2
insert_final_newline=true
[*.toml]
indent_size=4
insert_final_newline=false
[*.scss]
indent_size=2
[*.cs]
charset=utf-8
max_line_length=200
spaces_around_operators=true
indent_brace_style=Allman
trim_trailing_whitespace=True
insert_final_newline=false
indent_style=space
indent_size=4
end_of_line=crlf
# Microsoft .NET properties
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:error
csharp_prefer_braces=true:warning
csharp_style_var_elsewhere=false:error
csharp_style_var_for_built_in_types=false:error
csharp_style_var_when_type_is_apparent=false:error
dotnet_naming_rule.private_constants_rule.severity=error
dotnet_naming_rule.private_constants_rule.style=all_upper_style
dotnet_naming_rule.private_constants_rule.symbols=private_constants_symbols
dotnet_naming_style.all_upper_style.capitalization=all_upper
dotnet_naming_style.all_upper_style.word_separator=_
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities=private
dotnet_naming_symbols.private_constants_symbols.applicable_kinds=field
dotnet_naming_symbols.private_constants_symbols.required_modifiers=const
dotnet_style_parentheses_in_arithmetic_binary_operators=never_if_unnecessary:error
dotnet_style_parentheses_in_other_binary_operators=never_if_unnecessary:error
dotnet_style_parentheses_in_relational_binary_operators=never_if_unnecessary:error
dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
dotnet_style_predefined_type_for_member_access=true:suggestion
dotnet_style_qualification_for_event=true:error
dotnet_style_qualification_for_field=true:error
dotnet_style_qualification_for_method=true:error
dotnet_style_qualification_for_property=true:error
dotnet_style_require_accessibility_modifiers=for_non_interface_members:suggestion
# Code Quality Settings
dotnet_code_quality.PH2092.max_operators=10
# ROSLYNATOR SETTINGS
# Applicable to: rcs1018
#roslynator_accessibility_modifiers = explicit|implicit
roslynator_accessibility_modifiers=explicit
# Default: multi_line
# Applicable to: rcs0020
#roslynator_accessor_braces_style = multi_line|single_line_when_expression_is_on_single_line
# Applicable to: rcs1014
#roslynator_array_creation_type_style = explicit|implicit|implicit_when_type_is_obvious
roslynator_array_creation_type_style=implicit_when_type_is_obvious
# Applicable to: rcs0032
#roslynator_arrow_token_new_line = after|before
# Applicable to: rcs0027
#roslynator_binary_operator_new_line = after|before
# Applicable to: rcs0014, rcs1036
#roslynator_blank_line_between_closing_brace_and_switch_section = true|false
# Applicable to: rcs0011
#roslynator_blank_line_between_single_line_accessors = true|false
# Applicable to: rcs0015
#roslynator_blank_line_between_using_directives = never|separate_groups
# Default: multi_line
# Applicable to: rcs0021
r#oslynator_block_braces_style = multi_line|single_line_when_empty
# Applicable to: rcs1016
#roslynator_body_style = block|expression
# Applicable to: rcs1051
#roslynator_conditional_operator_condition_parentheses_style = include|omit|omit_when_condition_is_single_token
# Applicable to: rcs0028
#roslynator_conditional_operator_new_line = after|before
# Applicable to: rcs1090
roslynator_configure_await = false
# Applicable to: rcs1078
#roslynator_empty_string_style = field|literal
# Applicable to: rcs1096
#roslynator_enum_has_flag_style = method|operator
roslynator_enum_has_flag_style=operator
# Applicable to: rcs0052
#roslynator_equals_token_new_line = after|before
# Default: 140
# Applicable to: rcs0056
#roslynator_max_line_length = <NUM>
# Applicable to: rcs0058
#roslynator_new_line_at_end_of_file = true|false
# Applicable to: rcs0051
#roslynator_new_line_before_while_in_do_statement = true|false
# Applicable to: rcs0059
#roslynator_null_conditional_operator_new_line = after|before
# Applicable to: rcs1248
#roslynator_null_check_style = equality_operator|pattern_matching
# Applicable to: rcs1050
#roslynator_object_creation_parentheses_style = include|omit
# Applicable to: rcs1250
#roslynator_object_creation_type_style = explicit|implicit|implicit_when_type_is_obvious
roslynator_object_creation_type_style=implicit_when_type_is_obvious
#roslynator_prefix_field_identifier_with_underscore = true|false
# Applicable to: rcs1213
#roslynator_suppress_unity_script_methods = true|false
# Applicable to: rcs1207
#roslynator_use_anonymous_function_or_method_group = anonymous_function|method_group
# Applicable to: rcs1016
#roslynator_use_block_body_when_declaration_spans_over_multiple_lines = true|false
# Applicable to: rcs1016
#roslynator_use_block_body_when_expression_spans_over_multiple_lines = true|false
# Applicable to: rcs1250
#roslynator_use_var_instead_of_implicit_object_creation = true|false
roslynator_use_var_instead_of_implicit_object_creation=false
[*.{appxmanifest,asax,ascx,aspx,build,cshtml,dtd,fs,fsi,fsscript,fsx,master,ml,mli,nuspec,razor,resw,resx,skin,vb,xaml,xamlx,xoml,xsd}]
indent_style=space
indent_size=4
tab_width=4