forked from dotnet/roslynator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
220 lines (209 loc) · 10 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Code files
[*.{cs,csx}]
indent_style = space
indent_size = 4
dotnet_sort_system_directives_first = true
csharp_style_namespace_declarations = file_scoped:suggestion
roslynator_accessibility_modifiers = explicit
roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line
roslynator_array_creation_type_style = implicit_when_type_is_obvious
roslynator_arrow_token_new_line = before
roslynator_binary_operator_new_line = before
roslynator_blank_line_between_single_line_accessors = false
roslynator_blank_line_between_using_directives = never
roslynator_block_braces_style = multi_line
roslynator_conditional_operator_condition_parentheses_style = include
roslynator_conditional_operator_new_line = before
roslynator_configure_await = true
roslynator_empty_string_style = literal
roslynator_enum_has_flag_style = operator
roslynator_equals_token_new_line = before
roslynator_max_line_length = 140
roslynator_new_line_at_end_of_file = true
roslynator_new_line_before_while_in_do_statement = true
roslynator_null_conditional_operator_new_line = after
roslynator_null_check_style = pattern_matching
roslynator_object_creation_parentheses_style = include
roslynator_object_creation_type_style = implicit_when_type_is_obvious
roslynator_prefix_field_identifier_with_underscore = true
roslynator_use_anonymous_function_or_method_group = anonymous_function
roslynator_use_block_body_when_declaration_spans_over_multiple_lines = true
roslynator_use_block_body_when_expression_spans_over_multiple_lines = true
roslynator_use_var_instead_of_implicit_object_creation = true
roslynator_infinite_loop_style = while
roslynator_doc_comment_summary_style = multi_line
roslynator_enum_flag_value_style = shift_operator
roslynator_blank_line_after_file_scoped_namespace_declaration = true
roslynator_null_check_style = pattern_matching
roslynator_trailing_comma_style = omit_when_single_line
roslynator_use_collection_expression = true
roslynator_blank_line_between_switch_sections = omit
roslynator_use_var = when_type_is_obvious
dotnet_diagnostic.RCS0001.severity = suggestion
dotnet_diagnostic.RCS0003.severity = suggestion
dotnet_diagnostic.RCS0004.severity = suggestion
dotnet_diagnostic.RCS0006.severity = suggestion
dotnet_diagnostic.RCS0011.severity = suggestion
dotnet_diagnostic.RCS0013.severity = suggestion
dotnet_diagnostic.RCS0015.severity = suggestion
dotnet_diagnostic.RCS0016.severity = suggestion
dotnet_diagnostic.RCS0020.severity = suggestion
dotnet_diagnostic.RCS0021.severity = suggestion
dotnet_diagnostic.RCS0022.severity = suggestion
dotnet_diagnostic.RCS0023.severity = suggestion
dotnet_diagnostic.RCS0024.severity = suggestion
dotnet_diagnostic.RCS0025.severity = suggestion
dotnet_diagnostic.RCS0027.severity = suggestion
dotnet_diagnostic.RCS0028.severity = suggestion
dotnet_diagnostic.RCS0030.severity = suggestion
dotnet_diagnostic.RCS0031.severity = suggestion
dotnet_diagnostic.RCS0032.severity = suggestion
dotnet_diagnostic.RCS0033.severity = suggestion
dotnet_diagnostic.RCS0038.severity = suggestion
dotnet_diagnostic.RCS0039.severity = suggestion
dotnet_diagnostic.RCS0041.severity = suggestion
dotnet_diagnostic.RCS0042.severity = suggestion
dotnet_diagnostic.RCS0046.severity = suggestion
dotnet_diagnostic.RCS0048.severity = silent
dotnet_diagnostic.RCS0049.severity = suggestion
dotnet_diagnostic.RCS0050.severity = suggestion
dotnet_diagnostic.RCS0051.severity = suggestion
dotnet_diagnostic.RCS0053.severity = suggestion
dotnet_diagnostic.RCS0054.severity = suggestion
dotnet_diagnostic.RCS0055.severity = suggestion
dotnet_diagnostic.RCS0056.severity = none
dotnet_diagnostic.RCS0057.severity = suggestion
dotnet_diagnostic.RCS0058.severity = suggestion
dotnet_diagnostic.RCS0059.severity = suggestion
dotnet_diagnostic.RCS0060.severity = suggestion
dotnet_diagnostic.RCS0061.severity = suggestion
dotnet_diagnostic.RCS1002.severity = silent
dotnet_diagnostic.RCS1006.severity = suggestion
dotnet_diagnostic.RCS1008.severity = none
dotnet_diagnostic.RCS1009.severity = none
dotnet_diagnostic.RCS1010.severity = none
dotnet_diagnostic.RCS1013.severity = suggestion
dotnet_diagnostic.RCS1014.severity = suggestion
dotnet_diagnostic.RCS1016.severity = suggestion
dotnet_diagnostic.RCS1017.severity = suggestion
dotnet_diagnostic.RCS1018.severity = warning
dotnet_diagnostic.RCS1019.severity = suggestion
dotnet_diagnostic.RCS1034.severity = suggestion
dotnet_diagnostic.RCS1037.severity = warning
dotnet_diagnostic.RCS1039.severity = suggestion
dotnet_diagnostic.RCS1040.severity = suggestion
dotnet_diagnostic.RCS1042.severity = suggestion
dotnet_diagnostic.RCS1043.severity = suggestion
dotnet_diagnostic.RCS1045.severity = warning
dotnet_diagnostic.RCS1050.severity = suggestion
dotnet_diagnostic.RCS1051.severity = suggestion
dotnet_diagnostic.RCS1060.severity = suggestion
dotnet_diagnostic.RCS1061.severity = suggestion
dotnet_diagnostic.RCS1062.severity = suggestion
dotnet_diagnostic.RCS1066.severity = suggestion
dotnet_diagnostic.RCS1069.severity = suggestion
dotnet_diagnostic.RCS1070.severity = suggestion
dotnet_diagnostic.RCS1071.severity = suggestion
dotnet_diagnostic.RCS1074.severity = suggestion
dotnet_diagnostic.RCS1076.severity = none
dotnet_diagnostic.RCS1078.severity = suggestion
dotnet_diagnostic.RCS1079.severity = suggestion
dotnet_diagnostic.RCS1081.severity = suggestion
dotnet_diagnostic.RCS1082.severity = suggestion
dotnet_diagnostic.RCS1083.severity = suggestion
dotnet_diagnostic.RCS1090.severity = suggestion
dotnet_diagnostic.RCS1091.severity = suggestion
dotnet_diagnostic.RCS1096.severity = warning
dotnet_diagnostic.RCS1124.severity = suggestion
dotnet_diagnostic.RCS1126.severity = warning
dotnet_diagnostic.RCS1129.severity = suggestion
dotnet_diagnostic.RCS1133.severity = suggestion
dotnet_diagnostic.RCS1134.severity = suggestion
dotnet_diagnostic.RCS1136.severity = suggestion
dotnet_diagnostic.RCS1138.severity = suggestion
dotnet_diagnostic.RCS1139.severity = suggestion
dotnet_diagnostic.RCS1143.severity = suggestion
dotnet_diagnostic.RCS1145.severity = suggestion
dotnet_diagnostic.RCS1151.severity = suggestion
dotnet_diagnostic.RCS1162.severity = suggestion
dotnet_diagnostic.RCS1188.severity = suggestion
dotnet_diagnostic.RCS1189.severity = suggestion
dotnet_diagnostic.RCS1207.severity = suggestion
dotnet_diagnostic.RCS1228.severity = suggestion
dotnet_diagnostic.RCS1237.severity = none
dotnet_diagnostic.RCS1244.severity = suggestion
dotnet_diagnostic.RCS1248.severity = suggestion
dotnet_diagnostic.RCS1250.severity = suggestion
dotnet_diagnostic.RCS1252.severity = suggestion
dotnet_diagnostic.RCS1253.severity = suggestion
dotnet_diagnostic.RCS1254.severity = suggestion
dotnet_diagnostic.RCS1255.severity = none
dotnet_diagnostic.RCS1260.severity = suggestion
dotnet_diagnostic.RCS1264.severity = suggestion
dotnet_diagnostic.RCS9001.severity = suggestion
dotnet_diagnostic.IDE0007.severity = none
dotnet_diagnostic.IDE0007WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0008.severity = none
dotnet_diagnostic.IDE0008WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0010.severity = none
dotnet_diagnostic.IDE0010WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0011.severity = none
dotnet_diagnostic.IDE0011WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0021.severity = none
dotnet_diagnostic.IDE0021WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0022.severity = none
dotnet_diagnostic.IDE0022WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0023.severity = none
dotnet_diagnostic.IDE0023WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0024.severity = none
dotnet_diagnostic.IDE0024WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0025.severity = none
dotnet_diagnostic.IDE0025WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0026.severity = none
dotnet_diagnostic.IDE0026WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0027.severity = none
dotnet_diagnostic.IDE0027WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0028.severity = none # Collection initialization can be simplified
dotnet_diagnostic.IDE0029.severity = suggestion
dotnet_diagnostic.IDE0031.severity = suggestion
dotnet_diagnostic.IDE0033.severity = suggestion
dotnet_diagnostic.IDE0034.severity = none
dotnet_diagnostic.IDE0046.severity = none
dotnet_diagnostic.IDE0046WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0047.severity = none
dotnet_diagnostic.IDE0047WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0054.severity = none
dotnet_diagnostic.IDE0054WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0056.severity = none
dotnet_diagnostic.IDE0057.severity = none
dotnet_diagnostic.IDE0063.severity = none
dotnet_diagnostic.IDE0063WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0066.severity = silent
dotnet_diagnostic.IDE0066WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0071.severity = none
dotnet_diagnostic.IDE0071WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0074.severity = none
dotnet_diagnostic.IDE0074WithoutSuggestion.severity = none
dotnet_diagnostic.IDE0079.severity = none
dotnet_diagnostic.IDE0090.severity = none
dotnet_diagnostic.IDE0220.severity = none
dotnet_diagnostic.IDE0270.severity = silent
dotnet_diagnostic.IDE0290.severity = none # Use primary constructor
dotnet_diagnostic.IDE0300.severity = none # Use collection expression
dotnet_diagnostic.IDE0301.severity = none # ImmutableArray<object>.Empty -> []
dotnet_diagnostic.IDE0303.severity = none # ImmutableArray.Create(x) -> [x]
dotnet_diagnostic.IDE0305.severity = none # x.ToArray() -> [.. x]
dotnet_diagnostic.IDE1005.severity = suggestion
dotnet_diagnostic.IDE1006.severity = suggestion
dotnet_diagnostic.RS1024.severity = none # Compare symbols correctly
dotnet_diagnostic.RS1025.severity = none
dotnet_diagnostic.RS1026.severity = none
dotnet_diagnostic.CA1806.severity = none
dotnet_diagnostic.CA1826.severity = none
dotnet_diagnostic.CA1860.severity = none
dotnet_diagnostic.CA1861.severity = none
dotnet_diagnostic.CA2231.severity = none
dotnet_diagnostic.SYSLIB1045.severity = silent # Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time.