-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
809 lines (743 loc) · 42.2 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
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
root = true
# Remove the line below if you want to inherit .editorconfig settings from higher directories
# C# files
[*.cs]
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
indent_style = space
tab_width = 4
# New line preferences
end_of_line = crlf
insert_final_newline = false
#### .NET Coding Conventions ####
# Organize usings
dotnet_separate_import_directive_groups = false
dotnet_sort_system_directives_first = true
file_header_template = unset
# this. and Me. preferences
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
# Language keywords vs BCL types preferences
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning
# Parentheses preferences
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
# Modifier preferences
dotnet_style_require_accessibility_modifiers = for_non_interface_members:warning
# Expression-level preferences
dotnet_style_coalesce_expression = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_namespace_match_folder = true
dotnet_style_null_propagation = true:warning
dotnet_style_object_initializer = true:warning
dotnet_style_operator_placement_when_wrapping = end_of_line
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_compound_assignment = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = true:warning
dotnet_style_prefer_conditional_expression_over_return = true:warning
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_inferred_tuple_names = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
dotnet_style_prefer_simplified_boolean_expressions = true:warning
dotnet_style_prefer_simplified_interpolation = true:warning
# Field preferences
dotnet_style_readonly_field = true:warning
# Parameter preferences
dotnet_code_quality_unused_parameters = all:warning
# Suppression preferences
dotnet_remove_unnecessary_suppression_exclusions = warning
# New line preferences
dotnet_style_allow_multiple_blank_lines_experimental = false:warning
dotnet_style_allow_statement_immediately_after_block_experimental = false:warning
#### C# Coding Conventions ####
# var preferences
csharp_style_var_elsewhere = false:warning
csharp_style_var_for_built_in_types = false:warning
csharp_style_var_when_type_is_apparent = true:warning
# Expression-bodied members
csharp_style_expression_bodied_accessors = true:warning
csharp_style_expression_bodied_constructors = true:warning
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:warning
csharp_style_expression_bodied_operators = true:warning
csharp_style_expression_bodied_properties = true:warning
# Pattern matching preferences
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_extended_property_pattern = true
csharp_style_prefer_not_pattern = true:warning
csharp_style_prefer_pattern_matching = true:warning
csharp_style_prefer_switch_expression = true:warning
# Null-checking preferences
csharp_style_conditional_delegate_call = true:warning
csharp_style_prefer_parameter_null_checking = true:warning
# Modifier preferences
csharp_prefer_static_local_function = true:warning
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:warning
# Code-block preferences
csharp_prefer_braces = false:warning
csharp_prefer_simple_using_statement = true:warning
csharp_style_namespace_declarations = file_scoped:warning
csharp_style_prefer_method_group_conversion = true:warning
# Expression-level preferences
csharp_prefer_simple_default_expression = true:warning
csharp_style_deconstructed_variable_declaration = true:warning
csharp_style_implicit_object_creation_when_type_is_apparent = true:warning
csharp_style_inlined_variable_declaration = true:warning
csharp_style_prefer_index_operator = true:warning
csharp_style_prefer_local_over_anonymous_function = true:warning
csharp_style_prefer_null_check_over_type_check = true:warning
csharp_style_prefer_range_operator = true:warning
csharp_style_prefer_tuple_swap = true:warning
csharp_style_throw_expression = true:warning
csharp_style_unused_value_assignment_preference = discard_variable:warning
csharp_style_unused_value_expression_statement_preference = discard_variable:warning
# 'using' directive preferences
csharp_using_directive_placement = outside_namespace:warning
# New line preferences
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false:warning
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:warning
csharp_style_allow_embedded_statements_on_same_line_experimental = false:warning
#### C# Formatting Rules ####
# New line preferences
csharp_new_line_before_catch = true
csharp_new_line_before_else = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = all
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 = false
csharp_indent_labels = flush_left
csharp_indent_switch_labels = true
# Space preferences
csharp_space_after_cast = false
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
# Wrapping preferences
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = true
#### Naming styles ####
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = warning
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 = warning
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 = warning
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
dotnet_naming_rule.class_should_be_pascal_case.severity = warning
dotnet_naming_rule.class_should_be_pascal_case.symbols = class
dotnet_naming_rule.class_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.class.applicable_kinds = class
dotnet_naming_symbols.class.applicable_accessibilities = public, internal, private, protected, protected_internal
dotnet_naming_symbols.class.required_modifiers =
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal
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
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
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
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.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
[*.proto]
indent_style = tab
indent_size = tab
tab_width = 4
[*.{asax,ascx,aspx,axaml,c,c++,cc,cginc,compute,cp,cpp,cs,cshtml,css,cu,cuh,cxx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,htm,html,hxx,inc,inl,ino,ipp,js,jsx,master,mpp,mq4,mq5,mqh,paml,razor,skin,tpp,ts,tsx,usf,ush,vb,xaml,xamlx,xoml}]
indent_style = space
indent_size = 4
tab_width = 4
[*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,json,jsproj,lsproj,njsproj,nuspec,proj,props,resjson,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}]
indent_style = space
indent_size = 2
tab_width = 2
[*]
# Microsoft .NET properties
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_between_query_expression_clauses = false
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:warning
csharp_prefer_braces = false:warning
csharp_style_namespace_declarations = file_scoped:warning
csharp_style_var_elsewhere = false:none
csharp_style_var_for_built_in_types = false: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_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_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 = for_non_interface_members:warning
# ReSharper properties
resharper_apply_auto_detected_rules = false
resharper_attribute_indent = single_indent
resharper_autodetect_indent_settings = true
resharper_blank_lines_after_control_transfer_statements = 1
resharper_blank_lines_after_multiline_statements = 1
resharper_blank_lines_before_control_transfer_statements = 1
resharper_blank_lines_before_multiline_statements = 1
resharper_blank_lines_before_single_line_comment = 1
resharper_constructor_or_destructor_body = expression_body
resharper_csharp_empty_block_style = together_same_line
resharper_csharp_insert_final_newline = true
resharper_csharp_keep_blank_lines_in_code = 1
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_csharp_outdent_commas = true
resharper_csharp_stick_comment = false
resharper_csharp_wrap_lines = false
resharper_csharp_wrap_multiple_declaration_style = wrap_if_long
resharper_csharp_wrap_multiple_type_parameter_constraints_style = wrap_if_long
resharper_csharp_wrap_ternary_expr_style = wrap_if_long
resharper_css_insert_final_newline = true
resharper_css_keep_user_linebreaks = false
resharper_enforce_line_ending_style = true
resharper_force_control_statements_braces = always_remove
resharper_html_attribute_style = on_single_line
resharper_html_insert_final_newline = true
resharper_html_pi_attributes_indent = single_indent
resharper_html_space_before_self_closing = true
resharper_indent_nested_fixed_stmt = true
resharper_indent_nested_foreach_stmt = true
resharper_indent_nested_for_stmt = true
resharper_indent_nested_lock_stmt = true
resharper_indent_nested_usings_stmt = true
resharper_indent_nested_while_stmt = true
resharper_js_empty_block_style = together
resharper_js_indent_switch_labels = true
resharper_js_insert_final_newline = true
resharper_js_keep_blank_lines_in_code = 0
resharper_js_simple_embedded_statement_style = line_break
resharper_js_stick_comment = false
resharper_js_wrap_lines = false
resharper_js_wrap_multiple_declaration_style = wrap_if_long
resharper_js_wrap_ternary_expr_style = wrap_if_long
resharper_keep_blank_lines_between_declarations = 1
resharper_keep_existing_declaration_parens_arrangement = false
resharper_keep_existing_enum_arrangement = true
resharper_keep_existing_expr_member_arrangement = false
resharper_keep_existing_initializer_arrangement = false
resharper_keep_existing_invocation_parens_arrangement = false
resharper_keep_existing_switch_expression_arrangement = false
resharper_linebreak_before_all_elements = true
resharper_local_function_body = expression_body
resharper_max_blank_lines_between_tags = 0
resharper_max_enum_members_on_line = 10
resharper_method_or_operator_body = expression_body
resharper_min_blank_lines_after_imports = 1
resharper_nested_ternary_style = simple_wrap
resharper_normalize_tag_names = true
resharper_parentheses_redundancy_style = remove
resharper_place_attribute_on_same_line = if_owner_is_single_line
resharper_place_expr_accessor_on_single_line = true
resharper_place_expr_method_on_single_line = true
resharper_place_expr_property_on_single_line = true
resharper_place_linq_into_on_new_line = false
resharper_place_simple_declaration_blocks_on_single_line = true
resharper_place_simple_embedded_statement_on_same_line = false
resharper_prefer_qualified_reference = false
resharper_prefer_separate_deconstructed_variables_declaration = true
resharper_single_statement_function_style = on_single_line
resharper_space_before_method_parentheses_anonymous = true
resharper_wrap_arguments_style = wrap_if_long
resharper_wrap_array_literals = wrap_if_long
resharper_wrap_before_linq_expression = true
resharper_wrap_chained_binary_expressions = wrap_if_long
resharper_wrap_enum_declaration = wrap_if_long
resharper_wrap_for_stmt_header_style = wrap_if_long
resharper_wrap_imports = wrap_if_long
resharper_wrap_object_and_collection_initializer_style = wrap_if_long
resharper_wrap_object_literals = wrap_if_long
resharper_wrap_parameters_style = wrap_if_long
resharper_wrap_switch_expression = wrap_if_long
resharper_xml_insert_final_newline = true
resharper_xml_keep_user_linebreaks = false
resharper_xml_pi_attributes_indent = single_indent
resharper_xml_wrap_lines = false
resharper_xml_wrap_tags_and_pi = false
# ReSharper inspection severities
resharper_annotate_can_be_null_parameter_highlighting = warning
resharper_annotate_can_be_null_type_member_highlighting = warning
resharper_annotate_not_null_parameter_highlighting = warning
resharper_annotate_not_null_type_member_highlighting = warning
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 = warning
resharper_arrange_attributes_highlighting = warning
resharper_arrange_constructor_or_destructor_body_highlighting = warning
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 = warning
resharper_arrange_method_or_operator_body_highlighting = warning
resharper_arrange_object_creation_when_type_evident_highlighting = warning
resharper_arrange_object_creation_when_type_not_evident_highlighting = warning
resharper_arrange_static_member_qualifier_highlighting = warning
resharper_arrange_trailing_comma_in_multiline_lists_highlighting = warning
resharper_arrange_trailing_comma_in_singleline_lists_highlighting = warning
resharper_arrange_var_keywords_in_deconstructing_declaration_highlighting = warning
resharper_async_void_method_highlighting = warning
resharper_auto_property_can_be_made_get_only_global_highlighting = warning
resharper_auto_property_can_be_made_get_only_local_highlighting = warning
resharper_bad_attribute_brackets_spaces_highlighting = warning
resharper_bad_braces_spaces_highlighting = warning
resharper_bad_colon_spaces_highlighting = warning
resharper_bad_comma_spaces_highlighting = warning
resharper_bad_control_braces_indent_highlighting = warning
resharper_bad_control_braces_line_breaks_highlighting = warning
resharper_bad_declaration_braces_indent_highlighting = warning
resharper_bad_declaration_braces_line_breaks_highlighting = warning
resharper_bad_empty_braces_line_breaks_highlighting = warning
resharper_bad_expression_braces_indent_highlighting = warning
resharper_bad_expression_braces_line_breaks_highlighting = warning
resharper_bad_generic_brackets_spaces_highlighting = warning
resharper_bad_indent_highlighting = hint
resharper_bad_linq_line_breaks_highlighting = warning
resharper_bad_member_access_spaces_highlighting = warning
resharper_bad_namespace_braces_indent_highlighting = warning
resharper_bad_parens_spaces_highlighting = warning
resharper_bad_preprocessor_indent_highlighting = warning
resharper_bad_semicolon_spaces_highlighting = warning
resharper_bad_spaces_after_keyword_highlighting = warning
resharper_bad_square_brackets_spaces_highlighting = warning
resharper_bad_switch_braces_indent_highlighting = warning
resharper_bad_symbol_spaces_highlighting = warning
resharper_check_for_reference_equality_instead_1_highlighting = warning
resharper_check_for_reference_equality_instead_2_highlighting = warning
resharper_check_for_reference_equality_instead_3_highlighting = warning
resharper_check_for_reference_equality_instead_4_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_coerced_equals_using_with_null_undefined_highlighting = warning
resharper_comment_typo_highlighting = none
resharper_compare_non_constrained_generic_with_null_highlighting = warning
resharper_convert_closure_to_method_group_highlighting = warning
resharper_convert_conditional_ternary_expression_to_switch_expression_highlighting = warning
resharper_convert_if_do_to_while_highlighting = warning
resharper_convert_if_statement_to_conditional_ternary_expression_highlighting = warning
resharper_convert_if_statement_to_null_coalescing_assignment_highlighting = warning
resharper_convert_if_statement_to_null_coalescing_expression_highlighting = warning
resharper_convert_if_statement_to_return_statement_highlighting = warning
resharper_convert_if_statement_to_switch_expression_highlighting = warning
resharper_convert_if_statement_to_switch_statement_highlighting = warning
resharper_convert_if_to_or_expression_highlighting = warning
resharper_convert_nullable_to_short_form_highlighting = warning
resharper_convert_switch_statement_to_switch_expression_highlighting = warning
resharper_convert_to_auto_property_highlighting = warning
resharper_convert_to_auto_property_when_possible_highlighting = warning
resharper_convert_to_auto_property_with_private_setter_highlighting = warning
resharper_convert_to_compound_assignment_highlighting = warning
resharper_convert_to_constant_global_highlighting = warning
resharper_convert_to_constant_local_highlighting = warning
resharper_convert_to_lambda_expression_highlighting = warning
resharper_convert_to_lambda_expression_when_possible_highlighting = warning
resharper_convert_to_local_function_highlighting = warning
resharper_convert_to_null_coalescing_compound_assignment_highlighting = warning
resharper_convert_to_primary_constructor_highlighting = warning
resharper_convert_to_static_class_highlighting = warning
resharper_convert_to_using_declaration_highlighting = warning
resharper_css_caniuse_feature_requires_prefix_highlighting = warning
resharper_css_caniuse_unsupported_feature_highlighting = warning
resharper_css_obsolete_highlighting = warning
resharper_declaration_hides_highlighting = warning
resharper_dl_tag_contains_non_dt_or_dd_elements_highlighting = warning
resharper_double_colons_preferred_highlighting = warning
resharper_double_negation_in_pattern_highlighting = warning
resharper_double_negation_operator_highlighting = warning
resharper_empty_title_tag_highlighting = warning
resharper_event_never_invoked_global_highlighting = warning
resharper_event_never_subscribed_to_global_highlighting = warning
resharper_event_never_subscribed_to_local_highlighting = warning
resharper_field_can_be_made_read_only_global_highlighting = warning
resharper_field_can_be_made_read_only_local_highlighting = warning
resharper_foreach_can_be_converted_to_query_using_another_get_enumerator_highlighting = warning
resharper_foreach_can_be_partly_converted_to_query_using_another_get_enumerator_highlighting = warning
resharper_for_can_be_converted_to_foreach_highlighting = warning
resharper_function_complexity_overflow_highlighting = warning
resharper_html_attributes_quotes_highlighting = warning
resharper_identifier_typo_highlighting = none
resharper_incorrect_blank_lines_near_braces_highlighting = warning
resharper_inheritdoc_consider_usage_highlighting = warning
resharper_inline_out_variable_declaration_highlighting = warning
resharper_inline_temporary_variable_highlighting = warning
resharper_internal_or_private_member_not_documented_highlighting = warning
resharper_introduce_optional_parameters_global_highlighting = warning
resharper_introduce_optional_parameters_local_highlighting = warning
resharper_invert_condition_1_highlighting = warning
resharper_invert_if_highlighting = none
resharper_invocation_is_skipped_highlighting = warning
resharper_invoke_as_extension_method_highlighting = warning
resharper_join_declaration_and_initializer_highlighting = warning
resharper_join_declaration_and_initializer_js_highlighting = warning
resharper_join_null_check_with_usage_highlighting = warning
resharper_join_null_check_with_usage_when_possible_highlighting = warning
resharper_lambda_expression_can_be_made_static_highlighting = warning
resharper_lambda_expression_must_be_static_highlighting = warning
resharper_local_function_can_be_made_static_highlighting = warning
resharper_loop_can_be_converted_to_query_highlighting = warning
resharper_loop_can_be_partly_converted_to_query_highlighting = warning
resharper_markup_attribute_typo_highlighting = none
resharper_markup_text_typo_highlighting = none
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 = warning
resharper_member_can_be_private_local_highlighting = warning
resharper_member_can_be_protected_global_highlighting = warning
resharper_member_can_be_protected_local_highlighting = warning
resharper_merge_and_pattern_highlighting = warning
resharper_merge_cast_with_type_check_highlighting = warning
resharper_merge_conditional_expression_highlighting = warning
resharper_merge_conditional_expression_when_possible_highlighting = warning
resharper_merge_into_logical_pattern_highlighting = warning
resharper_merge_into_negated_pattern_highlighting = warning
resharper_merge_into_pattern_highlighting = warning
resharper_merge_nested_property_patterns_highlighting = warning
resharper_merge_sequential_checks_highlighting = warning
resharper_merge_sequential_checks_when_possible_highlighting = warning
resharper_method_has_async_overload_highlighting = warning
resharper_method_has_async_overload_with_cancellation_highlighting = warning
resharper_method_supports_cancellation_highlighting = warning
resharper_missing_alt_attribute_in_img_tag_highlighting = warning
resharper_missing_blank_lines_highlighting = hint
resharper_missing_indent_highlighting = warning
resharper_missing_linebreak_highlighting = warning
resharper_missing_space_highlighting = warning
resharper_missing_title_tag_highlighting = warning
resharper_more_specific_foreach_variable_type_available_highlighting = warning
resharper_move_to_existing_positional_deconstruction_pattern_highlighting = warning
resharper_move_variable_declaration_inside_loop_condition_highlighting = warning
resharper_multiple_spaces_highlighting = warning
resharper_multiple_statements_on_one_line_highlighting = warning
resharper_multiple_type_members_on_one_line_highlighting = warning
resharper_negation_of_relational_pattern_highlighting = warning
resharper_negative_equality_expression_highlighting = warning
resharper_nested_string_interpolation_highlighting = warning
resharper_not_accessed_field_global_highlighting = warning
resharper_nullable_warning_suppression_is_used_highlighting = warning
resharper_n_unit_attribute_produces_too_many_tests_highlighting = warning
resharper_ol_tag_contains_non_li_elements_highlighting = warning
resharper_outdent_is_off_prev_level_highlighting = warning
resharper_out_parameter_value_is_always_discarded_global_highlighting = warning
resharper_overridden_with_same_value_highlighting = warning
resharper_parameter_only_used_for_precondition_check_global_highlighting = warning
resharper_parameter_type_can_be_enumerable_global_highlighting = warning
resharper_parameter_type_can_be_enumerable_local_highlighting = warning
resharper_pass_string_interpolation_highlighting = warning
resharper_possible_unintended_queryable_as_enumerable_highlighting = warning
resharper_possibly_unassigned_property_highlighting = none
resharper_property_can_be_made_init_only_global_highlighting = warning
resharper_property_can_be_made_init_only_local_highlighting = warning
resharper_public_constructor_in_abstract_class_highlighting = warning
resharper_redundant_always_match_subpattern_highlighting = warning
resharper_redundant_array_creation_expression_highlighting = warning
resharper_redundant_attribute_parentheses_highlighting = warning
resharper_redundant_attribute_usage_property_highlighting = warning
resharper_redundant_blank_lines_highlighting = warning
resharper_redundant_collection_initializer_element_braces_highlighting = warning
resharper_redundant_configure_await_highlighting = warning
resharper_redundant_declaration_semicolon_highlighting = warning
resharper_redundant_discard_designation_highlighting = warning
resharper_redundant_empty_object_creation_argument_list_highlighting = warning
resharper_redundant_enum_case_label_for_default_section_highlighting = warning
resharper_redundant_explicit_params_array_creation_highlighting = warning
resharper_redundant_fixed_pointer_declaration_highlighting = warning
resharper_redundant_if_else_block_highlighting = warning
resharper_redundant_immediate_delegate_invocation_highlighting = warning
resharper_redundant_intermediate_variable_highlighting = warning
resharper_redundant_is_before_relational_pattern_highlighting = warning
resharper_redundant_lambda_signature_parentheses_highlighting = warning
resharper_redundant_linebreak_highlighting = hint
resharper_redundant_local_class_name_highlighting = warning
resharper_redundant_local_function_name_highlighting = warning
resharper_redundant_overload_global_highlighting = warning
resharper_redundant_overload_local_highlighting = warning
resharper_redundant_pattern_parentheses_highlighting = warning
resharper_redundant_property_pattern_clause_highlighting = warning
resharper_redundant_query_order_by_ascending_keyword_highlighting = warning
resharper_redundant_range_bound_highlighting = warning
resharper_redundant_readonly_modifier_highlighting = warning
resharper_redundant_space_highlighting = warning
resharper_redundant_string_interpolation_highlighting = warning
resharper_redundant_string_type_highlighting = warning
resharper_redundant_to_string_call_for_value_type_highlighting = warning
resharper_redundant_verbatim_prefix_highlighting = warning
resharper_redundant_verbatim_string_prefix_highlighting = warning
resharper_redundant_with_expression_highlighting = warning
resharper_remove_constructor_invocation_highlighting = warning
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_auto_property_with_computed_property_highlighting = warning
resharper_replace_conditional_expression_with_null_coalescing_highlighting = warning
resharper_replace_indicing_with_array_destructuring_highlighting = warning
resharper_replace_indicing_with_short_hand_properties_after_destructuring_highlighting = warning
resharper_replace_object_pattern_with_var_pattern_highlighting = warning
resharper_replace_slice_with_range_indexer_highlighting = warning
resharper_replace_substring_with_range_indexer_highlighting = warning
resharper_replace_undefined_checking_series_with_object_destructuring_highlighting = warning
resharper_replace_with_destructuring_swap_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 = warning
resharper_replace_with_single_call_to_count_highlighting = warning
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_return_type_can_be_enumerable_global_highlighting = warning
resharper_return_type_can_be_enumerable_local_highlighting = warning
resharper_route_templates_action_route_prefix_can_be_extracted_to_controller_route_highlighting = warning
resharper_route_templates_controller_route_parameter_is_not_passed_to_methods_highlighting = warning
resharper_route_templates_method_missing_route_parameters_highlighting = warning
resharper_route_templates_parameter_constraint_can_be_specified_highlighting = warning
resharper_route_templates_parameter_type_can_be_made_stricter_highlighting = warning
resharper_route_templates_route_parameter_is_not_passed_to_method_highlighting = warning
resharper_safe_cast_is_used_as_type_check_highlighting = warning
resharper_script_tag_with_content_before_includes_highlighting = warning
resharper_separate_control_transfer_statement_highlighting = warning
resharper_similar_anonymous_type_nearby_highlighting = warning
resharper_simplify_conditional_ternary_expression_highlighting = warning
resharper_simplify_linq_expression_use_all_highlighting = warning
resharper_simplify_linq_expression_use_any_highlighting = warning
resharper_simplify_linq_expression_use_min_by_and_max_by_highlighting = warning
resharper_simplify_string_interpolation_highlighting = warning
resharper_specify_string_comparison_highlighting = warning
resharper_string_concatenation_to_template_string_highlighting = warning
resharper_string_ends_with_is_culture_specific_highlighting = warning
resharper_string_literal_as_interpolation_argument_highlighting = warning
resharper_string_literal_typo_highlighting = none
resharper_string_literal_wrong_quotes_highlighting = warning
resharper_string_starts_with_is_culture_specific_highlighting = warning
resharper_struct_can_be_made_read_only_highlighting = warning
resharper_struct_member_can_be_made_read_only_highlighting = warning
resharper_suggest_base_type_for_parameter_highlighting = warning
resharper_suggest_base_type_for_parameter_in_constructor_highlighting = warning
resharper_suggest_discard_declaration_var_style_highlighting = warning
resharper_suggest_var_or_type_deconstruction_declarations_highlighting = warning
resharper_suggest_var_or_type_elsewhere_highlighting = warning
resharper_suggest_var_or_type_simple_types_highlighting = warning
resharper_swap_via_deconstruction_highlighting = warning
resharper_switch_expression_handles_some_known_enum_values_with_exception_in_default_highlighting = warning
resharper_switch_statement_handles_some_known_enum_values_with_default_highlighting = warning
resharper_switch_statement_missing_some_enum_cases_no_default_highlighting = warning
resharper_tabs_and_spaces_mismatch_highlighting = warning
resharper_tabs_are_disallowed_highlighting = warning
resharper_tabs_outside_indent_highlighting = warning
resharper_tail_recursive_call_highlighting = warning
resharper_too_wide_local_variable_scope_highlighting = warning
resharper_try_cast_always_succeeds_highlighting = warning
resharper_try_statements_can_be_merged_highlighting = warning
resharper_type_parameter_can_be_variant_highlighting = warning
resharper_ul_tag_contains_non_li_elements_highlighting = warning
resharper_unassigned_field_global_highlighting = warning
resharper_unknown_css_vendor_extension_highlighting = warning
resharper_unnecessary_whitespace_highlighting = warning
resharper_unused_inherited_parameter_highlighting = warning
resharper_unused_member_global_highlighting = warning
resharper_unused_member_hierarchy_global_highlighting = warning
resharper_unused_member_in_super_global_highlighting = warning
resharper_unused_method_return_value_global_highlighting = warning
resharper_unused_parameter_global_highlighting = warning
resharper_unused_type_global_highlighting = warning
resharper_use_array_creation_expression_1_highlighting = warning
resharper_use_array_creation_expression_2_highlighting = warning
resharper_use_array_empty_method_highlighting = warning
resharper_use_await_using_highlighting = warning
resharper_use_cancellation_token_for_i_async_enumerable_highlighting = warning
resharper_use_collection_count_property_highlighting = warning
resharper_use_configure_await_false_for_async_disposable_highlighting = warning
resharper_use_configure_await_false_highlighting = warning
resharper_use_deconstruction_highlighting = warning
resharper_use_empty_types_field_highlighting = warning
resharper_use_event_args_empty_field_highlighting = warning
resharper_use_format_specifier_in_format_string_highlighting = warning
resharper_use_indexed_property_highlighting = warning
resharper_use_index_from_end_expression_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_for_part_of_the_string_highlighting = warning
resharper_use_nameof_expression_highlighting = warning
resharper_use_name_of_instead_of_type_of_highlighting = warning
resharper_use_negated_pattern_in_is_expression_highlighting = warning
resharper_use_negated_pattern_matching_highlighting = warning
resharper_use_nullable_annotation_instead_of_attribute_highlighting = warning
resharper_use_nullable_attributes_supported_by_compiler_highlighting = warning
resharper_use_null_propagation_highlighting = warning
resharper_use_null_propagation_when_possible_highlighting = warning
resharper_use_object_or_collection_initializer_highlighting = warning
resharper_use_pattern_matching_highlighting = warning
resharper_use_positional_deconstruction_pattern_highlighting = warning
resharper_use_string_interpolation_highlighting = warning
resharper_use_string_interpolation_when_possible_highlighting = warning
resharper_use_switch_case_pattern_variable_highlighting = warning
resharper_use_throw_if_null_method_highlighting = warning
resharper_use_verbatim_string_highlighting = warning
resharper_use_with_expression_to_copy_anonymous_object_highlighting = warning
resharper_use_with_expression_to_copy_record_highlighting = warning
resharper_use_with_expression_to_copy_struct_highlighting = warning
resharper_use_with_expression_to_copy_tuple_highlighting = warning
resharper_variable_can_be_made_const_highlighting = warning
resharper_variable_can_be_made_let_highlighting = warning
resharper_variable_can_be_moved_to_inner_block_highlighting = warning
resharper_virtual_member_never_overridden_global_highlighting = warning
resharper_virtual_member_never_overridden_local_highlighting = warning
resharper_web_ignored_path_highlighting = warning
resharper_web_mapped_path_highlighting = warning
resharper_with_expression_instead_of_initializer_highlighting = warning
resharper_wrong_indent_size_highlighting = hint
resharper_wrong_metadata_use_highlighting = warning
# Standard properties
end_of_line=crlf
insert_final_newline=true
trim_trailing_whitespace=true
#### Manually added suppressions for application specific files ####
[**.cs]
# Enable style warnings on build
dotnet_analyzer_diagnostic.category-style.severity = warning
# Remove unnecessary suppression
dotnet_remove_unnecessary_suppression_exclusions = category: ReSharper
# Add missing cases
dotnet_diagnostic.ide0072.severity = silent
# Add default case
dotnet_diagnostic.ide0010.severity = silent
# Do not catch general exception types
dotnet_diagnostic.ca1031.severity = silent
# Validate arguments of public methods
dotnet_diagnostic.ca1062.severity = silent
# Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.ca2007.severity = silent
# Remove when these incorrect warnings are fixed or later .NET versions used
[Api/Todo/*.cs]
# Namespace does not match folder structure
dotnet_diagnostic.ide0130.severity = none
[Api/Todo/Entities/TodoItem.cs]
resharper_entity_framework_model_validation_unlimited_string_length_highlighting = none
[Api/Todo/Startup.cs]
# Do not call 'IServiceCollection.BuildServiceProvider' in 'ConfigureServices'
dotnet_diagnostic.asp0000.severity = none
# Remove unread private members
dotnet_diagnostic.ide0052.severity = none
resharper_unused_auto_property_accessor_local_highlighting = none
[Api/Todo/Contexts/TodoDbContext.cs]
resharper_unused_auto_property_accessor_global_highlighting = none
[Api/Todo/Entities/TodoItem.cs]
resharper_unused_auto_property_accessor_global_highlighting = none
[Api/Todo/Filters/ApiParameterFilter.cs]
resharper_class_never_instantiated_global_highlighting = none
[Api/Todo/Helpers/QueryableExtensions.cs]
# Avoid dead conditional code
dotnet_diagnostic.ca1508.severity = none
[Api/Todo/Helpers/StringExtensions.cs]
# Normalize strings to uppercase
dotnet_diagnostic.ca1308.severity = none
[Api/Todo/Models/**.cs]
resharper_unused_auto_property_accessor_global_highlighting = none
[Api/Todo/Models/LinkDto.cs]
resharper_member_can_be_private_global_highlighting = none
resharper_unused_member_global_highlighting = none
[Api/Todo/Parameters/TodoItemParameters.cs]
resharper_auto_property_can_be_made_get_only_global_highlighting = none
resharper_unused_auto_property_accessor_global_highlighting = none
resharper_unused_member_global_highlighting = none
[Api/Todo/Services/IPropertyMapping.cs]
# Avoid empty interfaces
dotnet_diagnostic.ca1040.severity = none
[Api/Todo/Services/PropertyMapping.cs]
resharper_unused_type_parameter_highlighting = none