-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
552 lines (520 loc) · 32.8 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
root = true
# Don't use tabs for indentation.
[*]
indent_style = space
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = false
insert_final_newline = false
indent_size = 4 # A property with the same name was updated with a value 2 in a section [{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
# Microsoft .NET properties
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async, file, required:error
csharp_style_expression_bodied_accessors = true:suggestion
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_var_elsewhere = true:error
csharp_style_var_for_built_in_types = true:error
csharp_style_var_when_type_is_apparent = true:error
dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_constants_rule.severity = error
dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
dotnet_naming_rule.private_constants_rule_rule.import_to_resharper = True
dotnet_naming_rule.private_constants_rule_rule.resharper_description = private_constants_rule
dotnet_naming_rule.private_constants_rule_rule.resharper_guid = f52247c5-6592-45f7-9879-b6bfd6d8459b
dotnet_naming_rule.private_constants_rule_rule.severity = error
dotnet_naming_rule.private_constants_rule_rule.style = upper_camel_case_style
dotnet_naming_rule.private_constants_rule_rule.symbols = private_constants_rule_symbols
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case_rule.import_to_resharper = True
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case_rule.resharper_description = private_fields_must_begin_with_underscore_and_be_in_camel_case
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case_rule.resharper_guid = d2f37c52-13db-42ab-8b2e-851bfee63f28
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case_rule.severity = error
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case_rule.style = lower_camel_case_style_1
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case_rule.symbols = private_fields_must_begin_with_underscore_and_be_in_camel_case_symbols
dotnet_naming_rule.private_static_fields_override_rule_rule.import_to_resharper = True
dotnet_naming_rule.private_static_fields_override_rule_rule.resharper_description = private_static_fields_override_rule
dotnet_naming_rule.private_static_fields_override_rule_rule.resharper_guid = 870a7863-64c3-4e38-8349-bb38ac9bc098
dotnet_naming_rule.private_static_fields_override_rule_rule.severity = error
dotnet_naming_rule.private_static_fields_override_rule_rule.style = upper_camel_case_style
dotnet_naming_rule.private_static_fields_override_rule_rule.symbols = private_static_fields_override_rule_symbols
dotnet_naming_rule.private_static_fields_rule.import_to_resharper = True
dotnet_naming_rule.private_static_fields_rule.resharper_description = PrivateStaticFields
dotnet_naming_rule.private_static_fields_rule.resharper_guid = 026d2708-e69b-4160-a912-ec0ef91fdf55
dotnet_naming_rule.private_static_fields_rule.severity = error
dotnet_naming_rule.private_static_fields_rule.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
dotnet_naming_rule.private_static_fields_rule_1.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_fields_rule_1.severity = error
dotnet_naming_rule.private_static_fields_rule_1.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule_1.symbols = private_static_fields_symbols_1
dotnet_naming_rule.private_static_fields_rule_1_rule.import_to_resharper = True
dotnet_naming_rule.private_static_fields_rule_1_rule.resharper_description = private_static_fields_rule_1
dotnet_naming_rule.private_static_fields_rule_1_rule.resharper_guid = 17a15a3a-af88-4159-ab8e-5652671e187a
dotnet_naming_rule.private_static_fields_rule_1_rule.severity = error
dotnet_naming_rule.private_static_fields_rule_1_rule.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule_1_rule.symbols = private_static_fields_rule_1_symbols
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_readonly_rule.severity = error
dotnet_naming_rule.private_static_readonly_rule.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
dotnet_naming_rule.private_static_readonly_rule_rule.import_to_resharper = True
dotnet_naming_rule.private_static_readonly_rule_rule.resharper_description = private_static_readonly_rule
dotnet_naming_rule.private_static_readonly_rule_rule.resharper_guid = 17a6af2e-e115-4369-bb84-acd48c562337
dotnet_naming_rule.private_static_readonly_rule_rule.severity = error
dotnet_naming_rule.private_static_readonly_rule_rule.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_readonly_rule_rule.symbols = private_static_readonly_rule_symbols
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
dotnet_naming_rule.unity_serialized_field_rule.severity = error
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
dotnet_naming_style.lower_camel_case_style_1.capitalization = camel_case
dotnet_naming_style.lower_camel_case_style_1.required_prefix = _
dotnet_naming_style.s_lower_camel_case_style.capitalization = camel_case
dotnet_naming_style.s_lower_camel_case_style.required_prefix = s_
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
dotnet_naming_symbols.private_constants_rule_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_constants_rule_symbols.applicable_kinds = field
dotnet_naming_symbols.private_constants_rule_symbols.required_modifiers = const
dotnet_naming_symbols.private_constants_rule_symbols.resharper_applicable_kinds = constant_field
dotnet_naming_symbols.private_constants_rule_symbols.resharper_required_modifiers = any
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_naming_symbols.private_fields_must_begin_with_underscore_and_be_in_camel_case_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_fields_must_begin_with_underscore_and_be_in_camel_case_symbols.applicable_kinds = field
dotnet_naming_symbols.private_fields_must_begin_with_underscore_and_be_in_camel_case_symbols.resharper_applicable_kinds = any_field
dotnet_naming_symbols.private_fields_must_begin_with_underscore_and_be_in_camel_case_symbols.resharper_required_modifiers = any
dotnet_naming_symbols.private_static_fields_override_rule_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_static_fields_override_rule_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_override_rule_symbols.required_modifiers = const, static
dotnet_naming_symbols.private_static_fields_override_rule_symbols.resharper_applicable_kinds = constant_field
dotnet_naming_symbols.private_static_fields_override_rule_symbols.resharper_required_modifiers = static
dotnet_naming_symbols.private_static_fields_rule_1_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_static_fields_rule_1_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_rule_1_symbols.required_modifiers = static
dotnet_naming_symbols.private_static_fields_rule_1_symbols.resharper_applicable_kinds = any_field
dotnet_naming_symbols.private_static_fields_rule_1_symbols.resharper_required_modifiers = static
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
dotnet_naming_symbols.private_static_fields_symbols.resharper_applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.resharper_required_modifiers = static
dotnet_naming_symbols.private_static_fields_symbols_1.applicable_accessibilities = private
dotnet_naming_symbols.private_static_fields_symbols_1.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols_1.required_modifiers = static
dotnet_naming_symbols.private_static_readonly_rule_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_static_readonly_rule_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_rule_symbols.required_modifiers = readonly, static
dotnet_naming_symbols.private_static_readonly_rule_symbols.resharper_applicable_kinds = readonly_field
dotnet_naming_symbols.private_static_readonly_rule_symbols.resharper_required_modifiers = static
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static, readonly
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:none
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:none
dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_style_predefined_type_for_member_access = true:error
dotnet_style_qualification_for_event = false:error
dotnet_style_qualification_for_field = false:error
dotnet_style_qualification_for_method = false:error
dotnet_style_qualification_for_property = false:error
dotnet_style_require_accessibility_modifiers = for_non_interface_members:error
# ReSharper properties
resharper_align_multiline_calls_chain = true
resharper_apply_auto_detected_rules = false
resharper_blank_lines_after_control_transfer_statements = 1
resharper_braces_for_for = required
resharper_braces_for_foreach = required
resharper_braces_for_ifelse = required
resharper_braces_for_while = required
resharper_braces_redundant = false
resharper_csharp_blank_lines_around_single_line_invocable = 1
resharper_csharp_case_block_braces = next_line_shifted_2
resharper_csharp_max_line_length = 180
resharper_csharp_remove_blank_lines_near_braces_in_declarations = false
resharper_csharp_wrap_after_declaration_lpar = true
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_csharp_wrap_before_declaration_rpar = true
resharper_csharp_wrap_before_first_type_parameter_constraint = true
resharper_csharp_wrap_extends_list_style = chop_if_long
resharper_csharp_wrap_parameters_style = chop_if_long
resharper_csharp_wrap_ternary_expr_style = chop_always
resharper_enforce_line_ending_style = true
resharper_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
resharper_formatter_tags_enabled = true
resharper_instance_members_qualify_declared_in =
resharper_keep_existing_initializer_arrangement = false
resharper_keep_existing_list_patterns_arrangement = false
resharper_max_attribute_length_for_same_line = 64
resharper_new_line_before_while = true
resharper_object_creation_when_type_evident = explicitly_typed
resharper_parentheses_redundancy_style = remove
resharper_parentheses_same_type_operations = true
resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_accessor_attribute_on_same_line = false
resharper_place_constructor_initializer_on_same_line = false
resharper_place_expr_method_on_single_line = true
resharper_place_expr_property_on_single_line = true
resharper_place_field_attribute_on_same_line = false
resharper_place_record_field_attribute_on_same_line = true
resharper_place_simple_embedded_statement_on_same_line = false
resharper_place_simple_initializer_on_single_line = true
resharper_show_autodetect_configure_formatting_tip = false
resharper_trailing_comma_in_multiline_lists = true
resharper_trailing_comma_in_singleline_lists = true
resharper_use_indent_from_vs = false
resharper_wrap_array_initializer_style = chop_if_long
resharper_wrap_before_eq = true
resharper_wrap_list_pattern = chop_if_long
resharper_wrap_object_and_collection_initializer_style = chop_always
resharper_wrap_property_pattern = chop_always
# ReSharper inspection severities
resharper_arrange_null_checking_pattern_highlighting = error
resharper_arrange_object_creation_when_type_evident_highlighting = error
resharper_arrange_object_creation_when_type_not_evident_highlighting = error
resharper_arrange_redundant_parentheses_highlighting = error
resharper_arrange_trailing_comma_in_multiline_lists_highlighting = error
resharper_arrange_trailing_comma_in_singleline_lists_highlighting = error
resharper_arrange_var_keywords_in_deconstructing_declaration_highlighting = error
resharper_bad_linq_line_breaks_highlighting = error
resharper_enforce_foreach_statement_braces_highlighting = error
resharper_enforce_if_statement_braces_highlighting = error
resharper_inconsistent_naming_highlighting = error
resharper_invert_if_highlighting = none
resharper_lambda_expression_can_be_made_static_highlighting = error
resharper_loop_can_be_converted_to_query_highlighting = none
resharper_method_supports_cancellation_highlighting = error
resharper_suggest_discard_declaration_var_style_highlighting = suggestion
# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2 # A property with the same name was updated with a value 4 in a section [*]; with a value 4 in a section [*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,cc,cginc,compute,cp,cpp,cs,cshtml,cu,cuh,cxx,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}]
# JSON files
[*.json]
indent_size = 2 # A property with the same name was updated with a value 4 in a section [*]; with a value 4 in a section [*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,cc,cginc,compute,cp,cpp,cs,cshtml,cu,cuh,cxx,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}]
[*.cs]
# Prefer method-like constructs to have a block body, except for lambdas
csharp_style_expression_bodied_methods = false:none
csharp_style_expression_bodied_constructors = false:none
csharp_style_expression_bodied_operators = false:none
csharp_style_expression_bodied_local_functions = false:none
csharp_style_expression_bodied_lambdas = true:none
# Pattern matching preferences
csharp_style_pattern_matching_over_as_with_null_check = true:error
csharp_style_pattern_matching_over_is_with_cast_check = true:error
csharp_style_prefer_switch_expression = true:error
# Null-checking preferences
csharp_style_conditional_delegate_call = true:error
# Modifier preferences
csharp_prefer_static_local_function = true:error
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async:error
# Code-block preferences
csharp_prefer_braces = when_multiline:error
csharp_prefer_simple_using_statement = true:error
# Expression-level preferences
csharp_style_unused_value_assignment_preference = discard_variable:error
csharp_prefer_simple_default_expression = true:error
csharp_style_deconstructed_variable_declaration = true:error
csharp_style_inlined_variable_declaration = true:error
csharp_style_pattern_local_over_anonymous_function = true:error
csharp_style_prefer_index_operator = true:error
csharp_style_prefer_range_operator = true:error
csharp_style_throw_expression = true:error
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
# 'using' directive preferences
csharp_using_directive_placement = outside_namespace:error
#### C# Formatting Rules ####
# New line preferences
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true # A property with the same name was updated with a value false in a section [*]
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true
# Indentation preferences
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = true
csharp_indent_labels = no_change
csharp_indent_switch_labels = true
# Space preferences
csharp_space_after_cast = false # A property with the same name was updated with a value true in a section [*]
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false
dotnet_naming_rule.private_constants_rule.severity = error
dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
dotnet_naming_rule.private_static_fields_override_rule.severity = error
dotnet_naming_rule.private_static_fields_override_rule.style = upper_camel_case_style
dotnet_naming_rule.private_static_fields_override_rule.symbols = private_static_fields_override_symbols
dotnet_naming_rule.private_static_fields_rule.severity = error
dotnet_naming_rule.private_static_fields_rule.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
dotnet_naming_rule.private_static_fields_rule_1.severity = error
dotnet_naming_rule.private_static_fields_rule_1.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule_1.symbols = private_static_fields_symbols_1
dotnet_naming_rule.private_static_readonly_rule.severity = error
dotnet_naming_rule.private_static_readonly_rule.style = s_lower_camel_case_style
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
dotnet_naming_rule.unity_serialized_field_rule.severity = error
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
dotnet_naming_rule.unity_serialized_field_rule_1.severity = error
dotnet_naming_rule.unity_serialized_field_rule_1.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule_1.symbols = unity_serialized_field_symbols_1
dotnet_naming_rule.unity_serialized_field_rule_2.severity = error
dotnet_naming_rule.unity_serialized_field_rule_2.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule_2.symbols = unity_serialized_field_symbols_2
dotnet_naming_rule.unity_serialized_field_rule_3.severity = error
dotnet_naming_rule.unity_serialized_field_rule_3.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule_3.symbols = unity_serialized_field_symbols_3
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
dotnet_naming_style.s_lower_camel_case_style.capitalization = camel_case
dotnet_naming_style.s_lower_camel_case_style.required_prefix = s_
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
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_naming_symbols.private_static_fields_override_symbols.applicable_accessibilities = local, private
dotnet_naming_symbols.private_static_fields_override_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_override_symbols.required_modifiers = const, static
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
dotnet_naming_symbols.private_static_fields_symbols_1.applicable_accessibilities = local, private
dotnet_naming_symbols.private_static_fields_symbols_1.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols_1.required_modifiers = static
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static, readonly
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.require_underscore_prefix_and_camel_case.required_prefix = _
dotnet_naming_style.require_underscore_prefix_and_camel_case.capitalization = camel_case
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case.symbols = private_fields
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case.style = require_underscore_prefix_and_camel_case
dotnet_naming_rule.private_fields_must_begin_with_underscore_and_be_in_camel_case.severity = error
dotnet_naming_symbols.unity_serialized_field_symbols_1.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols_1.applicable_kinds =
dotnet_naming_symbols.unity_serialized_field_symbols_2.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols_2.applicable_kinds =
dotnet_naming_symbols.unity_serialized_field_symbols_3.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols_3.applicable_kinds =
dotnet_style_qualification_for_event = false
dotnet_style_qualification_for_field = false
dotnet_style_qualification_for_method = false
dotnet_style_qualification_for_property = false
resharper_csharp_naming_rule.private_constants = AaBb
resharper_csharp_naming_rule.private_static_fields = s_ + aaBb
resharper_csharp_naming_rule.private_static_readonly = s_ + aaBb
resharper_enforce_line_ending_style = true
resharper_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
resharper_formatter_tags_enabled = true
resharper_place_record_field_attribute_on_same_line = true
resharper_show_autodetect_configure_formatting_tip = false
resharper_use_indent_from_vs = false
resharper_csharp_place_constructor_initializer_on_same_line = false
resharper_arrange_null_checking_pattern_highlighting = error
resharper_arrange_object_creation_when_type_evident_highlighting = error
resharper_arrange_object_creation_when_type_not_evident_highlighting = error
resharper_arrange_redundant_parentheses_highlighting = error
resharper_arrange_this_qualifier_highlighting = error
resharper_arrange_trailing_comma_in_multiline_lists_highlighting = error
resharper_arrange_trailing_comma_in_singleline_lists_highlighting = error
resharper_arrange_type_member_modifiers_highlighting = error
resharper_arrange_type_modifiers_highlighting = error
resharper_arrange_var_keywords_in_deconstructing_declaration_highlighting = error
resharper_bad_linq_line_breaks_highlighting = error
resharper_built_in_type_reference_style_for_member_access_highlighting = error
resharper_built_in_type_reference_style_highlighting = error
resharper_enforce_foreach_statement_braces_highlighting = error
resharper_enforce_if_statement_braces_highlighting = error
resharper_inconsistent_naming_highlighting = error
resharper_invert_if_highlighting = none
resharper_lambda_expression_can_be_made_static_highlighting = error
resharper_loop_can_be_converted_to_query_highlighting = none
resharper_redundant_base_qualifier_highlighting = error
resharper_suggest_discard_declaration_var_style_highlighting = suggestion
resharper_suggest_var_or_type_built_in_types_highlighting = error
resharper_suggest_var_or_type_elsewhere_highlighting = error
resharper_suggest_var_or_type_simple_types_highlighting = error
resharper_web_config_module_not_resolved_highlighting = error
resharper_web_config_type_not_resolved_highlighting = error
resharper_web_config_wrong_module_highlighting = error
### Configuration for .Net analyzers executed on this repo ###
[*.{cs,vb}]
dotnet_separate_import_directive_groups = false
dotnet_sort_system_directives_first = true
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
dotnet_style_readonly_field = true:error
dotnet_code_quality_unused_parameters = all:error
dotnet_style_coalesce_expression = true:error
dotnet_style_collection_initializer = true:error
dotnet_style_explicit_tuple_names = true:error
dotnet_style_null_propagation = true:error
dotnet_style_object_initializer = true:error
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_prefer_compound_assignment = true:error
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_prefer_inferred_anonymous_type_member_names = true:error
dotnet_style_prefer_inferred_tuple_names = true:error
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:error
dotnet_style_prefer_simplified_interpolation = true:error
# CA1305: Pass IFormatProvider - https://github.com/dotnet/roslyn-analyzers/issues/6379
dotnet_diagnostic.ca1305.severity = error
# CA1851: Possible multiple enumerations of 'IEnumerable' collection - https://github.com/dotnet/roslyn-analyzers/issues/6379
dotnet_diagnostic.ca1851.severity = error
# CA1014: Mark assemblies with CLSCompliantAttribute
dotnet_diagnostic.ca1014.severity = none
# CA1707: Identifiers should not contain underscores
dotnet_diagnostic.ca1707.severity = none
# CA1711: Identifiers should not have incorrect suffix
dotnet_diagnostic.ca1711.severity = none
# CA1716: Identifiers should not match keywords
dotnet_diagnostic.ca1716.severity = none
# CA1062: Validate arguments of public methods
dotnet_diagnostic.ca1062.severity = none
# CA2007: Do not directly await a Task
dotnet_diagnostic.ca2007.severity = none
# CA1848: Use the LoggerMessage delegates
dotnet_diagnostic.ca1848.severity = none
# CA1826: Do not use Enumerable methods on indexable collections. Instead use the collection directly.
dotnet_diagnostic.ca1826.severity = none
# CA1056: URI properties should not be strings
dotnet_diagnostic.ca1056.severity = none
# Code style errors
dotnet_diagnostic.ide0001.severity = error
dotnet_diagnostic.ide0002.severity = error
dotnet_diagnostic.ide0004.severity = error
dotnet_diagnostic.ide0005.severity = error
dotnet_diagnostic.ide0007.severity = error
dotnet_diagnostic.ide0008.severity = error
dotnet_diagnostic.ide0010.severity = error
dotnet_diagnostic.ide0011.severity = error
dotnet_diagnostic.ide0016.severity = error
dotnet_diagnostic.ide0017.severity = error
dotnet_diagnostic.ide0018.severity = error
dotnet_diagnostic.ide0019.severity = error
dotnet_diagnostic.ide0020.severity = error
dotnet_diagnostic.ide0021.severity = error
dotnet_diagnostic.ide0022.severity = error
dotnet_diagnostic.ide0023.severity = error
dotnet_diagnostic.ide0024.severity = error
dotnet_diagnostic.ide0025.severity = error
dotnet_diagnostic.ide0026.severity = error
dotnet_diagnostic.ide0027.severity = error
dotnet_diagnostic.ide0028.severity = error
dotnet_diagnostic.ide0029.severity = error
dotnet_diagnostic.ide0030.severity = error
dotnet_diagnostic.ide0031.severity = error
dotnet_diagnostic.ide0032.severity = error
dotnet_diagnostic.ide0033.severity = error
dotnet_diagnostic.ide0034.severity = error
dotnet_diagnostic.ide0035.severity = error
dotnet_diagnostic.ide0036.severity = error
dotnet_diagnostic.ide0037.severity = error
dotnet_diagnostic.ide0038.severity = error
dotnet_diagnostic.ide0039.severity = error
dotnet_diagnostic.ide0040.severity = error
dotnet_diagnostic.ide0041.severity = error
dotnet_diagnostic.ide0042.severity = error
dotnet_diagnostic.ide0044.severity = error
dotnet_diagnostic.ide0045.severity = error
dotnet_diagnostic.ide0046.severity = none
dotnet_diagnostic.ide0047.severity = error
dotnet_diagnostic.ide0048.severity = error
dotnet_diagnostic.ide0049.severity = error
dotnet_diagnostic.ide0050.severity = error
dotnet_diagnostic.ide0051.severity = error
dotnet_diagnostic.ide0052.severity = error
dotnet_diagnostic.ide0053.severity = error
dotnet_diagnostic.ide0054.severity = error
dotnet_diagnostic.ide0056.severity = error
dotnet_diagnostic.ide0057.severity = error
dotnet_diagnostic.ide0059.severity = error
dotnet_diagnostic.ide0060.severity = error
dotnet_diagnostic.ide0061.severity = error
dotnet_diagnostic.ide0062.severity = error
dotnet_diagnostic.ide0063.severity = error
dotnet_diagnostic.ide0064.severity = error
dotnet_diagnostic.ide0065.severity = error
dotnet_diagnostic.ide0065.severity = error
dotnet_diagnostic.ide0066.severity = error
dotnet_diagnostic.ide0070.severity = error
dotnet_diagnostic.ide0071.severity = error
dotnet_diagnostic.ide0072.severity = error
dotnet_diagnostic.ide0073.severity = error
dotnet_diagnostic.ide0074.severity = error
dotnet_diagnostic.ide0075.severity = error
dotnet_diagnostic.ide0076.severity = error
dotnet_diagnostic.ide0077.severity = error
dotnet_diagnostic.ide0078.severity = error
dotnet_diagnostic.ide0079.severity = error
dotnet_diagnostic.ide0080.severity = error
dotnet_diagnostic.ide0081.severity = error
dotnet_diagnostic.ide0082.severity = error
dotnet_diagnostic.ide0083.severity = error
dotnet_diagnostic.ide0084.severity = error
dotnet_diagnostic.ide0100.severity = error
dotnet_diagnostic.ide0110.severity = error
dotnet_diagnostic.ide0130.severity = error
dotnet_diagnostic.ide0140.severity = error
dotnet_diagnostic.ide0150.severity = error
dotnet_diagnostic.ide0161.severity = error
dotnet_diagnostic.ide0170.severity = error
dotnet_diagnostic.ide0180.severity = error
dotnet_diagnostic.ide1005.severity = error
dotnet_diagnostic.ide1006.severity = error
dotnet_diagnostic.CA2000.severity = error
dotnet_diagnostic.CS8602.severity = error
dotnet_diagnostic.CS8619.severity = error
dotnet_diagnostic.CS1998.severity = silent
dotnet_diagnostic.CA1849.severity = silent
dotnet_diagnostic.CA1859.severity = silent
dotnet_diagnostic.CS1591.severity = silent
dotnet_diagnostic.IDE0028.severity = silent
dotnet_analyzer_diagnostic.category-Reliability.severity = error
dotnet_analyzer_diagnostic.category-Usage.severity = error
dotnet_analyzer_diagnostic.category-Design.severity = error
dotnet_analyzer_diagnostic.category-Documentation.severity = error
dotnet_analyzer_diagnostic.category-Globalization.severity = error
dotnet_analyzer_diagnostic.category-Interoperability.severity = error
dotnet_analyzer_diagnostic.category-Maintainability.severit = error
[*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,cc,cginc,compute,cp,cpp,cs,cshtml,cu,cuh,cxx,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}]
# A property with the same name was updated with a value 2 in a section [{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
tab_width = 4
indent_style = space
indent_size = 4