-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
749 lines (720 loc) · 40.4 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
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
root = true
[*]
charset = utf-8
end_of_line = lf
[*.cmd]
charset = latin1
end_of_line = crlf
[*.bat]
charset = latin1
end_of_line = crlf
[*.sql]
indent_style = space
indent_size = 4
insert_final_newline = true
[*.{csproj,props}]
indent_style = space
indent_size = 2
insert_final_newline = true
[*.css]
indent_size = 4
indent_style = space
insert_final_newline = true
[*.{ts,tsx}]
#see https://www.jetbrains.com/help/resharper/EditorConfig_JAVA_SCRIPT_BracesPageSchema.html
indent_size = 4
indent_style = space
max_line_length = 500
alignment_tab_fill_style = use_spaces
brace_style = end_of_line
types_braces = end_of_line
force_control_statements_braces = always_add
empty_block_style = together
termination_style = ensure_semicolon
quote_style = doublequoted
keep_blank_lines_in_code = 1
keep_blank_lines_between_declarations = 2
min_blank_lines_after_imports = 1
single_statement_function_style = line_break
special_else_if_treatment = true
wrap_before_binary_opsign = true
wrap_before_ternary_opsigns = true
wrap_arguments_style = chop_if_long
wrap_parameters_style = chop_if_long
wrap_chained_method_calls = chop_if_long
wrap_object_literals = chop_if_long
wrap_array_literals = chop_if_long
wrap_multiple_declaration_style = chop_if_long
wrap_imports = chop_if_long
wrap_ternary_expr_style = chop_if_long
wrap_chained_binary_expressions = wrap_if_long
wrap_after_invocation_lpar = true
wrap_after_declaration_lpar = true
new_line_before_else = false
new_line_before_catch = false
new_line_before_finally = false
align_multiline_parameter = false
align_multiple_declaration = false
align_ternary = none
align_union_type_usage = false
insert_final_newline = true
[*.json]
indent_size = 4
indent_style = space
[*.cs]
# see https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-language-conventions
csharp_style_unused_value_assignment_preference = discard_variable:warning
csharp_style_unused_value_expression_statement_preference = discard_variable:warning
csharp_new_line_before_catch = false
csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_open_brace = events,indexers,local_functions,methods,properties,types
csharp_prefer_braces = true:error
csharp_prefer_simple_default_expression = false:warning #ternaries with sometimes nullable value types are otherwise a mess. Prefer explicit `null` or new() instead for type inference.
csharp_prefer_simple_using_statement = true:warning
csharp_prefer_static_local_function = true:warning
csharp_preserve_single_line_statements = false
csharp_style_conditional_delegate_call = true:warning
csharp_style_deconstructed_variable_declaration = false:suggestion #maybe, to avoid silent name mismatches?
csharp_style_deconstructed_variable_declaration = true:none
csharp_style_expression_bodied_accessors = true:warning
csharp_style_expression_bodied_constructors = true:none
csharp_style_expression_bodied_indexers = true:warning
csharp_style_expression_bodied_lambdas = true:warning
csharp_style_expression_bodied_local_functions = true:warning
csharp_style_expression_bodied_methods = true:suggestion
csharp_style_expression_bodied_operators = true:warning
csharp_style_expression_bodied_properties = true:warning
csharp_style_inlined_variable_declaration = true:warning
csharp_style_namespace_declarations = file_scoped:warning
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:warning
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_prefer_switch_expression = true:warning
csharp_style_throw_expression = true:warning
csharp_style_var_elsewhere = true:warning
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_using_directive_placement = outside_namespace:silent
csharp_indent_labels = one_less_than_current
csharp_space_around_binary_operators = before_and_after
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_top_level_statements = true:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_style_prefer_null_check_over_type_check = true:suggestion
csharp_style_prefer_local_over_anonymous_function = true:suggestion
csharp_style_prefer_index_operator = true:suggestion
csharp_style_prefer_range_operator = true:suggestion
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
csharp_style_prefer_tuple_swap = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_prefer_readonly_struct = true:suggestion
csharp_style_prefer_readonly_struct_member = true:suggestion
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers = false
csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:warning
dotnet_diagnostic.bc42024.severity = error
dotnet_diagnostic.cs0078.severity = error
dotnet_diagnostic.cs0108.severity = error
dotnet_diagnostic.cs0109.severity = error
dotnet_diagnostic.cs0114.severity = error
dotnet_diagnostic.cs0162.severity = error
dotnet_diagnostic.cs0164.severity = error
dotnet_diagnostic.cs0168.severity = error
dotnet_diagnostic.cs0169.severity = error
dotnet_diagnostic.cs0183.severity = error
dotnet_diagnostic.cs0184.severity = error
dotnet_diagnostic.cs0197.severity = error
dotnet_diagnostic.cs0219.severity = error
dotnet_diagnostic.cs0252.severity = error
dotnet_diagnostic.cs0253.severity = error
dotnet_diagnostic.cs0414.severity = suggestion
dotnet_diagnostic.cs0420.severity = error
dotnet_diagnostic.cs0465.severity = error
dotnet_diagnostic.cs0469.severity = error
dotnet_diagnostic.cs0612.severity = error
dotnet_diagnostic.cs0618.severity = error
dotnet_diagnostic.cs0628.severity = error
dotnet_diagnostic.cs0642.severity = error
dotnet_diagnostic.cs0649.severity = error
dotnet_diagnostic.cs0657.severity = error
dotnet_diagnostic.cs0658.severity = error
dotnet_diagnostic.cs0659.severity = error
dotnet_diagnostic.cs0660.severity = error
dotnet_diagnostic.cs0661.severity = error
dotnet_diagnostic.cs0672.severity = error
dotnet_diagnostic.cs0693.severity = error
dotnet_diagnostic.cs1058.severity = error
dotnet_diagnostic.cs1066.severity = error
dotnet_diagnostic.cs1522.severity = error
dotnet_diagnostic.cs1570.severity = error
dotnet_diagnostic.cs1571.severity = error
dotnet_diagnostic.cs1573.severity = error
dotnet_diagnostic.cs1580.severity = warning
dotnet_diagnostic.cs1584.severity = warning
dotnet_diagnostic.cs1587.severity = error
dotnet_diagnostic.cs1589.severity = error
dotnet_diagnostic.cs1590.severity = error
dotnet_diagnostic.cs1591.severity = silent
dotnet_diagnostic.cs1710.severity = error
dotnet_diagnostic.cs1712.severity = error
dotnet_diagnostic.cs1717.severity = error
dotnet_diagnostic.cs1723.severity = error
dotnet_diagnostic.cs1911.severity = error
dotnet_diagnostic.cs1957.severity = error
dotnet_diagnostic.cs1981.severity = error
dotnet_diagnostic.cs7095.severity = error
dotnet_diagnostic.cs8094.severity = error
dotnet_diagnostic.cs8123.severity = error
dotnet_diagnostic.wme006.severity = warning
dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_constants_rule.severity = none
dotnet_naming_rule.private_constants_rule.style = lower_camel_case_style
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_instance_fields_rule.severity = none
dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols
dotnet_naming_rule.private_static_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_fields_rule.severity = none
dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_readonly_rule.severity = none
dotnet_naming_rule.private_static_readonly_rule.style = lower_camel_case_style
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
dotnet_naming_style.lower_camel_case_style.capitalization = camel_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_instance_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
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_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_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_qualification_for_event = false:suggestion
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_require_accessibility_modifiers = never:warning
# ReSharper properties
resharper_align_multiline_binary_expressions_chain = false
resharper_align_multiline_statement_conditions = false
resharper_allow_comment_after_lbrace = true
resharper_apply_on_completion = true
resharper_blank_lines_after_block_statements = 0
resharper_blank_lines_around_local_method = 0
resharper_braces_for_dowhile = required_for_multiline
resharper_braces_for_using = true
resharper_braces_redundant = true
resharper_csharp_blank_lines_inside_region = 0
resharper_csharp_insert_final_newline = true
resharper_csharp_int_align_fix_in_adjacent = false
resharper_csharp_keep_blank_lines_in_code = 1
resharper_csharp_keep_blank_lines_in_declarations = 0
resharper_csharp_max_line_length = 500
resharper_csharp_stick_comment = false
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_csharp_wrap_before_binary_opsign = true
resharper_csharp_wrap_parameters_style = chop_if_long
resharper_default_exception_variable_name =
resharper_default_value_when_type_evident = default_expression
resharper_default_value_when_type_not_evident = default_expression
resharper_empty_block_style = together_same_line
resharper_enforce_line_ending_style = true
resharper_indent_raw_literal_string = indent
resharper_keep_existing_embedded_arrangement = false
resharper_keep_existing_expr_member_arrangement = false
resharper_keep_existing_invocation_parens_arrangement = false
resharper_keep_existing_switch_expression_arrangement = false
resharper_local_function_body = expression_body
resharper_max_array_initializer_elements_on_line = 10
resharper_max_formal_parameters_on_line = 6
resharper_max_initializer_elements_on_line = 3
resharper_max_invocation_arguments_on_line = 15
resharper_nested_ternary_style = expanded
resharper_object_creation_when_type_not_evident = target_typed
resharper_parentheses_non_obvious_operations = none
resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_accessor_attribute_on_same_line = false
resharper_place_expr_accessor_on_single_line = true
resharper_place_expr_method_on_single_line = false
resharper_place_expr_property_on_single_line = false
resharper_place_field_attribute_on_same_line = false
resharper_place_simple_accessor_on_single_line = false
resharper_place_simple_anonymousmethod_on_single_line = false
resharper_place_simple_embedded_statement_on_same_line = false
resharper_place_simple_enum_on_single_line = true
resharper_trailing_comma_in_multiline_lists = true
resharper_trailing_comma_in_singleline_lists = true
resharper_use_heuristics_for_body_style = true
resharper_wrap_after_declaration_lpar = true
resharper_wrap_after_invocation_lpar = true
resharper_wrap_array_initializer_style = chop_if_long
resharper_wrap_before_arrow_with_expressions = true
resharper_wrap_before_extends_colon = true
resharper_wrap_before_first_type_parameter_constraint = true
resharper_wrap_before_invocation_rpar = true
resharper_wrap_before_linq_expression = true
resharper_wrap_enum_declaration = chop_if_long
resharper_wrap_linq_expressions = chop_always
resharper_wrap_multiple_type_parameter_constraints_style = chop_always
resharper_xml_attribute_indent = double_indent
resharper_xml_max_line_length = 200
resharper_xml_pi_attributes_indent = double_indent
# ReSharper inspection severities
resharper_access_rights_in_text_highlighting = error
resharper_access_to_disposed_closure_highlighting = none
resharper_access_to_modified_closure_highlighting = hint
resharper_access_to_static_member_via_derived_type_highlighting = error
resharper_annotate_can_be_null_parameter_highlighting = hint
resharper_annotate_can_be_null_type_member_highlighting = hint
resharper_annotate_not_null_parameter_highlighting = hint
resharper_annotate_not_null_type_member_highlighting = hint
resharper_annotation_conflict_in_hierarchy_highlighting = error
resharper_annotation_redundancy_at_value_type_highlighting = error
resharper_arguments_style_anonymous_function_highlighting = warning
resharper_arguments_style_literal_highlighting = warning
resharper_arguments_style_named_expression_highlighting = warning
resharper_arguments_style_other_highlighting = warning
resharper_arguments_style_string_literal_highlighting = warning
resharper_arrange_accessor_owner_body_highlighting = suggestion
resharper_arrange_attributes_highlighting = warning
resharper_arrange_constructor_or_destructor_body_highlighting = hint
resharper_arrange_default_value_when_type_evident_highlighting = warning
resharper_arrange_default_value_when_type_not_evident_highlighting = warning
resharper_arrange_local_function_body_highlighting = hint
resharper_arrange_method_or_operator_body_highlighting = hint
resharper_arrange_object_creation_when_type_not_evident_highlighting = suggestion
resharper_arrange_redundant_parentheses_highlighting = warning
resharper_arrange_static_member_qualifier_highlighting = error
resharper_arrange_this_qualifier_highlighting = hint
resharper_assignment_in_conditional_expression_highlighting = error
resharper_assignment_is_fully_discarded_highlighting = error
resharper_auto_property_can_be_made_get_only_local_highlighting = warning
resharper_base_member_has_params_highlighting = error
resharper_base_method_call_with_default_parameter_highlighting = error
resharper_base_object_equals_is_object_equals_highlighting = error
resharper_base_object_get_hash_code_call_in_get_hash_code_highlighting = error
resharper_bitwise_operator_on_enum_without_flags_highlighting = error
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
resharper_cannot_apply_equality_operator_to_type_highlighting = error
resharper_check_for_reference_equality_instead_1_highlighting = warning
resharper_check_for_reference_equality_instead_2_highlighting = warning
resharper_class_can_be_sealed_global_highlighting = warning
resharper_class_can_be_sealed_local_highlighting = warning
resharper_class_never_instantiated_global_highlighting = warning
resharper_class_never_instantiated_local_highlighting = warning
resharper_class_with_virtual_members_never_inherited_global_highlighting = warning
resharper_class_with_virtual_members_never_inherited_local_highlighting = warning
resharper_collection_never_queried_global_highlighting = error
resharper_collection_never_queried_local_highlighting = error
resharper_collection_never_updated_global_highlighting = error
resharper_collection_never_updated_local_highlighting = error
resharper_comment_typo_highlighting = none
resharper_compare_non_constrained_generic_with_null_highlighting = suggestion
resharper_conditional_ternary_equal_branch_highlighting = error
resharper_condition_is_always_true_or_false_highlighting = error
resharper_constant_conditional_access_qualifier_highlighting = error
resharper_constant_null_coalescing_condition_highlighting = error
resharper_constructor_initializer_loop_highlighting = error
resharper_container_annotation_redundancy_highlighting = error
resharper_contract_annotation_not_parsed_highlighting = error
resharper_convert_if_statement_to_conditional_ternary_expression_highlighting = hint
resharper_convert_if_statement_to_switch_statement_highlighting = none
resharper_convert_nullable_to_short_form_highlighting = warning
resharper_convert_to_auto_property_highlighting = warning
resharper_convert_to_constant_global_highlighting = none
resharper_convert_to_constant_local_highlighting = none
resharper_convert_to_local_function_highlighting = hint
resharper_convert_to_null_coalescing_compound_assignment_highlighting = none
resharper_convert_to_static_class_highlighting = warning
resharper_co_variant_array_conversion_highlighting = hint
resharper_c_sharp_warnings_cs1580_highlighting = error
resharper_c_sharp_warnings_cs1584_highlighting = error
resharper_c_sharp_warnings_wme006_highlighting = error
resharper_default_value_attribute_for_optional_parameter_highlighting = error
resharper_double_negation_operator_highlighting = error
resharper_empty_constructor_highlighting = error
resharper_empty_destructor_highlighting = error
resharper_empty_for_statement_highlighting = error
resharper_empty_general_catch_clause_highlighting = error
resharper_empty_namespace_highlighting = error
resharper_enum_underlying_type_is_int_highlighting = error
resharper_event_never_invoked_global_highlighting = warning
resharper_explicit_caller_info_argument_highlighting = error
resharper_expression_is_always_null_highlighting = error
resharper_field_can_be_made_read_only_global_highlighting = error
resharper_field_can_be_made_read_only_local_highlighting = error
resharper_format_string_problem_highlighting = error
resharper_for_statement_condition_is_true_highlighting = error
resharper_function_never_returns_highlighting = error
resharper_function_recursive_on_all_paths_highlighting = error
resharper_heuristic_unreachable_code_highlighting = error
resharper_identifier_typo_highlighting = none
resharper_inconsistently_synchronized_field_highlighting = error
resharper_inconsistent_naming_highlighting = none
resharper_inheritdoc_invalid_usage_highlighting = error
resharper_inline_out_variable_declaration_highlighting = warning
resharper_interpolated_string_expression_is_not_i_formattable_highlighting = error
resharper_introduce_optional_parameters_global_highlighting = none
resharper_introduce_optional_parameters_local_highlighting = none
resharper_invert_if_highlighting = none
resharper_invoke_as_extension_method_highlighting = warning
resharper_is_expression_always_false_highlighting = error
resharper_is_expression_always_true_highlighting = error
resharper_iterator_method_result_is_ignored_highlighting = error
resharper_iterator_never_returns_highlighting = suggestion
resharper_join_declaration_and_initializer_highlighting = warning
resharper_join_null_check_with_usage_highlighting = warning
resharper_localizable_element_highlighting = none
resharper_markup_attribute_typo_highlighting = none
resharper_markup_text_typo_highlighting = none
resharper_meaningless_default_parameter_value_highlighting = error
resharper_member_can_be_made_static_global_highlighting = warning
resharper_member_can_be_made_static_local_highlighting = warning
resharper_member_can_be_private_global_highlighting = none
resharper_member_can_be_private_local_highlighting = none
resharper_member_can_be_protected_global_highlighting = warning
resharper_member_can_be_protected_local_highlighting = warning
resharper_member_initializer_value_ignored_highlighting = error
resharper_merge_cast_with_type_check_highlighting = warning
resharper_method_overload_with_optional_parameter_highlighting = error
resharper_method_supports_cancellation_highlighting = hint
resharper_multiple_nullable_attributes_usage_highlighting = error
resharper_multiple_order_by_highlighting = error
resharper_multiple_resolve_candidates_in_text_highlighting = error
resharper_must_use_return_value_highlighting = error
resharper_negative_equality_expression_highlighting = warning
resharper_nested_string_interpolation_highlighting = none
resharper_non_readonly_member_in_get_hash_code_highlighting = hint
resharper_not_accessed_field_global_highlighting = warning
resharper_not_accessed_field_local_highlighting = error
resharper_not_accessed_variable_highlighting = error
resharper_not_resolved_in_text_highlighting = error
resharper_nullable_warning_suppression_is_used_highlighting = error
resharper_n_unit_method_with_parameters_and_test_attribute_highlighting = suggestion
resharper_object_creation_as_statement_highlighting = error
resharper_operation_contract_without_service_contract_highlighting = error
resharper_operator_is_can_be_used_highlighting = error
resharper_optional_parameter_hierarchy_mismatch_highlighting = error
resharper_parameter_only_used_for_precondition_check_local_highlighting = none
resharper_parameter_type_can_be_enumerable_global_highlighting = none
resharper_parameter_type_can_be_enumerable_local_highlighting = none
resharper_partial_method_parameter_name_mismatch_highlighting = error
resharper_polymorphic_field_like_event_invocation_highlighting = error
resharper_possible_infinite_inheritance_highlighting = error
resharper_possible_intended_rethrow_highlighting = error
resharper_possible_interface_member_ambiguity_highlighting = error
resharper_possible_invalid_cast_exception_in_foreach_loop_highlighting = error
resharper_possible_invalid_operation_exception_highlighting = hint
resharper_possible_loss_of_fraction_highlighting = error
resharper_possible_mistaken_argument_highlighting = error
resharper_possible_mistaken_call_to_get_type_1_highlighting = error
resharper_possible_mistaken_call_to_get_type_2_highlighting = error
resharper_possible_multiple_enumeration_highlighting = suggestion
resharper_possible_multiple_write_access_in_double_check_locking_highlighting = error
resharper_possible_null_reference_exception_highlighting = hint
resharper_possible_struct_member_modification_of_non_variable_struct_highlighting = error
resharper_possible_unintended_queryable_as_enumerable_highlighting = warning
resharper_possible_unintended_reference_comparison_highlighting = error
resharper_possibly_impure_method_call_on_readonly_variable_highlighting = hint
resharper_possibly_missing_indexer_initializer_comma_highlighting = error
resharper_private_field_can_be_converted_to_local_variable_highlighting = error
resharper_public_constructor_in_abstract_class_highlighting = warning
resharper_pure_attribute_on_void_method_highlighting = error
resharper_read_access_in_double_check_locking_highlighting = error
resharper_redundant_array_creation_expression_highlighting = suggestion
resharper_redundant_assignment_highlighting = error
resharper_redundant_attribute_parentheses_highlighting = suggestion
resharper_redundant_base_qualifier_highlighting = warning
resharper_redundant_bool_compare_highlighting = error
resharper_redundant_case_label_highlighting = none
resharper_redundant_cast_highlighting = error
resharper_redundant_catch_clause_highlighting = error
resharper_redundant_check_before_assignment_highlighting = error
resharper_redundant_collection_initializer_element_braces_highlighting = suggestion
resharper_redundant_declaration_semicolon_highlighting = warning
resharper_redundant_delegate_creation_highlighting = error
resharper_redundant_empty_finally_block_highlighting = error
resharper_redundant_empty_object_creation_argument_list_highlighting = suggestion
resharper_redundant_empty_object_or_collection_initializer_highlighting = suggestion
resharper_redundant_empty_switch_section_highlighting = error
resharper_redundant_enumerable_cast_call_highlighting = error
resharper_redundant_explicit_array_creation_highlighting = error
resharper_redundant_explicit_array_size_highlighting = error
resharper_redundant_explicit_nullable_creation_highlighting = error
resharper_redundant_explicit_tuple_component_name_highlighting = error
resharper_redundant_extends_list_entry_highlighting = error
resharper_redundant_if_else_block_highlighting = none
resharper_redundant_immediate_delegate_invocation_highlighting = warning
resharper_redundant_jump_statement_highlighting = error
resharper_redundant_lambda_parameter_type_highlighting = error
resharper_redundant_lambda_signature_parentheses_highlighting = suggestion
resharper_redundant_logical_conditional_expression_operand_highlighting = error
resharper_redundant_nullable_type_mark_highlighting = error
resharper_redundant_overflow_checking_context_highlighting = error
resharper_redundant_overload_global_highlighting = warning
resharper_redundant_overload_local_highlighting = warning
resharper_redundant_overridden_member_highlighting = error
resharper_redundant_params_highlighting = error
resharper_redundant_string_format_call_highlighting = error
resharper_redundant_string_interpolation_highlighting = hint
resharper_redundant_string_to_char_array_call_highlighting = error
resharper_redundant_ternary_expression_highlighting = error
resharper_redundant_to_string_call_for_value_type_highlighting = none
resharper_redundant_to_string_call_highlighting = none
resharper_redundant_type_arguments_of_method_highlighting = error
resharper_redundant_type_declaration_body_highlighting = none
resharper_redundant_using_directive_highlighting = suggestion
resharper_redundant_verbatim_prefix_highlighting = error
resharper_redundant_verbatim_string_prefix_highlighting = hint
resharper_reference_equals_with_value_type_highlighting = error
resharper_remove_constructor_invocation_highlighting = warning
resharper_remove_redundant_braces_highlighting = suggestion
resharper_remove_redundant_or_statement_false_highlighting = warning
resharper_remove_redundant_or_statement_true_highlighting = warning
resharper_remove_to_list_1_highlighting = warning
resharper_remove_to_list_2_highlighting = warning
resharper_replace_with_first_or_default_1_highlighting = warning
resharper_replace_with_first_or_default_2_highlighting = warning
resharper_replace_with_first_or_default_3_highlighting = warning
resharper_replace_with_first_or_default_4_highlighting = warning
resharper_replace_with_last_or_default_1_highlighting = warning
resharper_replace_with_last_or_default_2_highlighting = warning
resharper_replace_with_last_or_default_3_highlighting = warning
resharper_replace_with_last_or_default_4_highlighting = warning
resharper_replace_with_of_type_1_highlighting = warning
resharper_replace_with_of_type_2_highlighting = warning
resharper_replace_with_of_type_3_highlighting = warning
resharper_replace_with_of_type_any_1_highlighting = warning
resharper_replace_with_of_type_any_2_highlighting = warning
resharper_replace_with_of_type_count_1_highlighting = warning
resharper_replace_with_of_type_count_2_highlighting = warning
resharper_replace_with_of_type_first_1_highlighting = warning
resharper_replace_with_of_type_first_2_highlighting = warning
resharper_replace_with_of_type_first_or_default_1_highlighting = warning
resharper_replace_with_of_type_first_or_default_2_highlighting = warning
resharper_replace_with_of_type_last_1_highlighting = warning
resharper_replace_with_of_type_last_2_highlighting = warning
resharper_replace_with_of_type_last_or_default_1_highlighting = warning
resharper_replace_with_of_type_last_or_default_2_highlighting = warning
resharper_replace_with_of_type_long_count_highlighting = warning
resharper_replace_with_of_type_single_1_highlighting = warning
resharper_replace_with_of_type_single_2_highlighting = warning
resharper_replace_with_of_type_single_or_default_1_highlighting = warning
resharper_replace_with_of_type_single_or_default_2_highlighting = warning
resharper_replace_with_of_type_where_highlighting = warning
resharper_replace_with_simple_assignment_false_highlighting = warning
resharper_replace_with_simple_assignment_true_highlighting = warning
resharper_replace_with_single_assignment_false_highlighting = warning
resharper_replace_with_single_assignment_true_highlighting = warning
resharper_replace_with_single_call_to_any_highlighting = hint
resharper_replace_with_single_call_to_count_highlighting = hint
resharper_replace_with_single_call_to_first_highlighting = warning
resharper_replace_with_single_call_to_first_or_default_highlighting = warning
resharper_replace_with_single_call_to_last_highlighting = warning
resharper_replace_with_single_call_to_last_or_default_highlighting = warning
resharper_replace_with_single_call_to_single_highlighting = warning
resharper_replace_with_single_call_to_single_or_default_highlighting = warning
resharper_replace_with_single_or_default_1_highlighting = warning
resharper_replace_with_single_or_default_2_highlighting = warning
resharper_replace_with_single_or_default_3_highlighting = warning
resharper_replace_with_single_or_default_4_highlighting = warning
resharper_replace_with_string_is_null_or_empty_highlighting = warning
resharper_required_base_types_conflict_highlighting = error
resharper_required_base_types_direct_conflict_highlighting = error
resharper_required_base_types_is_not_inherited_highlighting = error
resharper_return_type_can_be_enumerable_global_highlighting = none
resharper_return_type_can_be_enumerable_local_highlighting = none
resharper_return_value_of_pure_method_is_not_used_highlighting = error
resharper_similar_anonymous_type_nearby_highlighting = suggestion
resharper_simplify_conditional_ternary_expression_highlighting = warning
resharper_specify_string_comparison_highlighting = warning
resharper_static_member_initializer_referes_to_member_below_highlighting = error
resharper_static_member_in_generic_type_highlighting = hint
resharper_static_problem_in_text_highlighting = error
resharper_string_compare_is_culture_specific_1_highlighting = error
resharper_string_compare_is_culture_specific_2_highlighting = error
resharper_string_compare_is_culture_specific_3_highlighting = error
resharper_string_compare_is_culture_specific_4_highlighting = error
resharper_string_compare_is_culture_specific_5_highlighting = error
resharper_string_compare_is_culture_specific_6_highlighting = error
resharper_string_compare_to_is_culture_specific_highlighting = error
resharper_string_ends_with_is_culture_specific_highlighting = warning
resharper_string_index_of_is_culture_specific_1_highlighting = suggestion
resharper_string_index_of_is_culture_specific_2_highlighting = suggestion
resharper_string_index_of_is_culture_specific_3_highlighting = suggestion
resharper_string_last_index_of_is_culture_specific_1_highlighting = suggestion
resharper_string_last_index_of_is_culture_specific_2_highlighting = suggestion
resharper_string_last_index_of_is_culture_specific_3_highlighting = suggestion
resharper_string_literal_as_interpolation_argument_highlighting = none
resharper_string_literal_typo_highlighting = none
resharper_string_starts_with_is_culture_specific_highlighting = error
resharper_suggest_discard_declaration_var_style_highlighting = suggestion
resharper_suggest_var_or_type_built_in_types_highlighting = hint
resharper_suggest_var_or_type_elsewhere_highlighting = error
resharper_tabs_are_disallowed_highlighting = warning
resharper_thread_static_at_instance_field_highlighting = error
resharper_thread_static_field_has_initializer_highlighting = error
resharper_too_wide_local_variable_scope_highlighting = warning
resharper_try_cast_always_succeeds_highlighting = warning
resharper_try_statements_can_be_merged_highlighting = warning
resharper_unassigned_field_local_highlighting = error
resharper_unassigned_get_only_auto_property_highlighting = error
resharper_unassigned_readonly_field_highlighting = error
resharper_unsupported_required_base_type_highlighting = error
resharper_unused_anonymous_method_signature_highlighting = error
resharper_unused_auto_property_accessor_global_highlighting = hint
resharper_unused_auto_property_accessor_local_highlighting = hint
resharper_unused_local_function_highlighting = error
resharper_unused_local_function_parameter_highlighting = error
resharper_unused_local_function_return_value_highlighting = error
resharper_unused_member_global_highlighting = warning
resharper_unused_member_hierarchy_global_highlighting = warning
resharper_unused_member_in_super_global_highlighting = warning
resharper_unused_member_local_highlighting = error
resharper_unused_method_return_value_global_highlighting = warning
resharper_unused_method_return_value_local_highlighting = error
resharper_unused_parameter_in_partial_method_highlighting = error
resharper_unused_parameter_local_highlighting = suggestion
resharper_unused_tuple_component_in_return_value_highlighting = error
resharper_unused_type_parameter_highlighting = error
resharper_unused_variable_highlighting = error
resharper_use_array_creation_expression_1_highlighting = warning
resharper_use_array_creation_expression_2_highlighting = warning
resharper_use_collection_count_property_highlighting = warning
resharper_use_format_specifier_in_format_string_highlighting = warning
resharper_use_indexed_property_highlighting = warning
resharper_use_is_operator_1_highlighting = warning
resharper_use_is_operator_2_highlighting = warning
resharper_use_method_any_0_highlighting = warning
resharper_use_method_any_1_highlighting = warning
resharper_use_method_any_2_highlighting = warning
resharper_use_method_any_3_highlighting = warning
resharper_use_method_any_4_highlighting = warning
resharper_use_method_is_instance_of_type_highlighting = warning
resharper_use_nameof_expression_highlighting = warning
resharper_use_object_or_collection_initializer_highlighting = warning
resharper_use_pattern_matching_highlighting = warning
resharper_use_string_interpolation_highlighting = warning
resharper_use_verbatim_string_highlighting = warning
resharper_value_parameter_not_used_highlighting = error
resharper_virtual_member_call_in_constructor_highlighting = error
resharper_virtual_member_never_overridden_global_highlighting = warning
resharper_virtual_member_never_overridden_local_highlighting = warning
resharper_void_method_with_must_use_return_value_attribute_highlighting = error
[*.{cs,vb}]
indent_size = 4
tab_width = 4
indent_style = space
insert_final_newline = true
dotnet_sort_system_directives_first = true
dotnet_style_coalesce_expression = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_explicit_tuple_names = true:error
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_null_propagation = true:warning
dotnet_style_object_initializer = true:warning
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:warning
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:warning
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:warning
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:warning
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_compound_assignment = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = true:hint
dotnet_style_prefer_conditional_expression_over_return = true:hint
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_inferred_tuple_names = true:warning
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
dotnet_style_require_accessibility_modifiers = never:warning
dotnet_style_operator_placement_when_wrapping = beginning_of_line
dotnet_style_coalesce_expression = true:warning
dotnet_style_null_propagation = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_object_initializer = true:warning
dotnet_style_prefer_collection_expression = when_types_exactly_match:suggestion
dotnet_style_collection_initializer = true:warning
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_prefer_inferred_tuple_names = true:warning
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_compound_assignment = true:warning
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_style_namespace_match_folder = true:suggestion
resharper_trailing_comma_in_multiline_lists = true
resharper_inconsistent_naming_highlighting = none
dotnet_diagnostic.ide1006.severity = none #naming rule violation
dotnet_diagnostic.ide0058.severity = error # IDE0058: Expression value is never used
dotnet_diagnostic.ca2016.severity = warning
dotnet_diagnostic.ca2208.severity = warning
dotnet_diagnostic.ca2211.severity = error # warn about static mutable fields
dotnet_diagnostic.cs9107.severity = error # unnecessary primary constructor capture
dotnet_diagnostic.cs8981.severity = none # warn about lowercase typenames
dotnet_diagnostic.vsspell001.severity = none # VSSpell001: Spell Check extension
dotnet_diagnostic.xunit1005.severity = error
dotnet_diagnostic.xunit1006.severity = error
dotnet_diagnostic.xunit1008.severity = error
dotnet_diagnostic.xunit1012.severity = error
dotnet_diagnostic.xunit1013.severity = error
dotnet_diagnostic.xunit1014.severity = error
dotnet_diagnostic.xunit1021.severity = error
dotnet_diagnostic.xunit1025.severity = error
dotnet_diagnostic.xunit1026.severity = error
dotnet_diagnostic.xunit1031.severity = suggestion # xUnit1031: Do not use blocking task operations in test method
dotnet_diagnostic.xunit1033.severity = error
dotnet_diagnostic.xunit2017.severity = error
dotnet_diagnostic.xunit2013.severity = error
dotnet_diagnostic.xunit2011.severity = error
dotnet_diagnostic.xunit2008.severity = error
#### Naming styles ####
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_readonly_field = true:suggestion