-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
963 lines (883 loc) · 54.6 KB
/
Copy path.editorconfig
File metadata and controls
963 lines (883 loc) · 54.6 KB
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
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
root = true
# Version: 5.0.0 (Using https://semver.org/)
# Updated: 2023-09-19
# See https://github.com/RehanSaeed/EditorConfig/releases for release notes.
# See https://github.com/RehanSaeed/EditorConfig for updates to this file.
# See http://EditorConfig.org for more information about .editorconfig files.
##########################################
# Common Settings
##########################################
# This file is the top-most EditorConfig file
# All Files
[*]
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true
# Resharper Properties
resharper_built_in_type_reference_style = use_keyword
resharper_keep_existing_arrangement = false
resharper_keep_existing_declaration_block_arrangement = false
resharper_keep_existing_declaration_parens_arrangement = true
resharper_keep_existing_embedded_arrangement = true
resharper_keep_existing_embedded_block_arrangement = false
resharper_keep_existing_enum_arrangement = false
resharper_keep_existing_expr_member_arrangement = true
resharper_keep_existing_initializer_arrangement = true
resharper_keep_existing_invocation_parens_arrangement = true
resharper_keep_existing_list_patterns_arrangement = true
resharper_keep_existing_primary_constructor_declaration_parens_arrangement = true
resharper_keep_existing_property_patterns_arrangement = true
resharper_keep_existing_switch_expression_arrangement = true
resharper_keep_user_linebreaks = true
resharper_separate_local_functions_with_jump_statement_highlighting = warning
resharper_use_symbol_alias = true
# 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:suggestion
csharp_preserve_single_line_blocks = true
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
dotnet_naming_rule.interfaces_rule.import_to_resharper = True
dotnet_naming_rule.interfaces_rule.resharper_description = Interfaces
dotnet_naming_rule.interfaces_rule.resharper_guid = a7a3339e-4e89-4319-9735-a9dc4cb74cc7
dotnet_naming_rule.interfaces_rule.severity = warning
dotnet_naming_rule.interfaces_rule.style = i_upper_camel_case_style
dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols
dotnet_naming_rule.private_constants_rule.import_to_resharper = True
dotnet_naming_rule.private_constants_rule.resharper_description = Constant fields (private)
dotnet_naming_rule.private_constants_rule.resharper_guid = 236f7aa5-7b06-43ca-bf2a-9b31bfcff09a
dotnet_naming_rule.private_constants_rule.severity = warning
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_instance_fields_rule.import_to_resharper = True
dotnet_naming_rule.private_instance_fields_rule.resharper_description = Instance fields (private)
dotnet_naming_rule.private_instance_fields_rule.resharper_exclusive_prefixes_suffixes = true
dotnet_naming_rule.private_instance_fields_rule.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
dotnet_naming_rule.private_instance_fields_rule.severity = warning
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_instance_fields_rule_1.import_to_resharper = True
dotnet_naming_rule.private_instance_fields_rule_1.resharper_description = Instance fields (private)
dotnet_naming_rule.private_instance_fields_rule_1.resharper_exclusive_prefixes_suffixes = true
dotnet_naming_rule.private_instance_fields_rule_1.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
dotnet_naming_rule.private_instance_fields_rule_1.severity = warning
dotnet_naming_rule.private_instance_fields_rule_1.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule_1.symbols = private_instance_fields_symbols_1
dotnet_naming_rule.private_instance_fields_rule_2.import_to_resharper = True
dotnet_naming_rule.private_instance_fields_rule_2.resharper_description = Instance fields (private)
dotnet_naming_rule.private_instance_fields_rule_2.resharper_exclusive_prefixes_suffixes = true
dotnet_naming_rule.private_instance_fields_rule_2.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
dotnet_naming_rule.private_instance_fields_rule_2.severity = warning
dotnet_naming_rule.private_instance_fields_rule_2.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule_2.symbols = private_instance_fields_symbols_2
dotnet_naming_rule.private_instance_fields_rule_3.import_to_resharper = True
dotnet_naming_rule.private_instance_fields_rule_3.resharper_description = Instance fields (private)
dotnet_naming_rule.private_instance_fields_rule_3.resharper_exclusive_prefixes_suffixes = true
dotnet_naming_rule.private_instance_fields_rule_3.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
dotnet_naming_rule.private_instance_fields_rule_3.severity = warning
dotnet_naming_rule.private_instance_fields_rule_3.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule_3.symbols = private_instance_fields_symbols_3
dotnet_naming_rule.private_instance_fields_rule_4.import_to_resharper = True
dotnet_naming_rule.private_instance_fields_rule_4.resharper_description = Instance fields (private)
dotnet_naming_rule.private_instance_fields_rule_4.resharper_exclusive_prefixes_suffixes = true
dotnet_naming_rule.private_instance_fields_rule_4.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
dotnet_naming_rule.private_instance_fields_rule_4.severity = warning
dotnet_naming_rule.private_instance_fields_rule_4.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule_4.symbols = private_instance_fields_symbols_4
dotnet_naming_rule.private_instance_fields_rule_5.import_to_resharper = True
dotnet_naming_rule.private_instance_fields_rule_5.resharper_description = Instance fields (private)
dotnet_naming_rule.private_instance_fields_rule_5.resharper_guid = 4a98fdf6-7d98-4f5a-afeb-ea44ad98c70c
dotnet_naming_rule.private_instance_fields_rule_5.severity = warning
dotnet_naming_rule.private_instance_fields_rule_5.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule_5.symbols = private_instance_fields_symbols_5
dotnet_naming_rule.private_static_fields_rule.import_to_resharper = True
dotnet_naming_rule.private_static_fields_rule.resharper_description = Static fields (private)
dotnet_naming_rule.private_static_fields_rule.resharper_exclusive_prefixes_suffixes = true
dotnet_naming_rule.private_static_fields_rule.resharper_guid = f9fce829-e6f4-4cb2-80f1-5497c44f51df
dotnet_naming_rule.private_static_fields_rule.severity = warning
dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style_1
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = True
dotnet_naming_rule.private_static_readonly_rule.resharper_description = Static readonly fields (private)
dotnet_naming_rule.private_static_readonly_rule.resharper_guid = 15b5b1f1-457c-4ca6-b278-5615aedc07d3
dotnet_naming_rule.private_static_readonly_rule.severity = warning
dotnet_naming_rule.private_static_readonly_rule.style = upper_camel_case_style
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
dotnet_naming_style.i_upper_camel_case_style.capitalization = pascal_case
dotnet_naming_style.i_upper_camel_case_style.required_prefix = I
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.upper_camel_case_style.capitalization = pascal_case
dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = *
dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface
dotnet_naming_symbols.interfaces_symbols.resharper_applicable_kinds = interface
dotnet_naming_symbols.interfaces_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_constants_symbols.resharper_applicable_kinds = constant_field
dotnet_naming_symbols.private_constants_symbols.resharper_required_modifiers = any
dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_instance_fields_symbols.resharper_applicable_kinds = field,readonly_field
dotnet_naming_symbols.private_instance_fields_symbols.resharper_required_modifiers = instance
dotnet_naming_symbols.private_instance_fields_symbols_1.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols_1.applicable_kinds = field
dotnet_naming_symbols.private_instance_fields_symbols_1.resharper_applicable_kinds = field,readonly_field
dotnet_naming_symbols.private_instance_fields_symbols_1.resharper_required_modifiers = instance
dotnet_naming_symbols.private_instance_fields_symbols_2.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols_2.applicable_kinds = field
dotnet_naming_symbols.private_instance_fields_symbols_2.resharper_applicable_kinds = field,readonly_field
dotnet_naming_symbols.private_instance_fields_symbols_2.resharper_required_modifiers = instance
dotnet_naming_symbols.private_instance_fields_symbols_3.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols_3.applicable_kinds = field
dotnet_naming_symbols.private_instance_fields_symbols_3.resharper_applicable_kinds = field,readonly_field
dotnet_naming_symbols.private_instance_fields_symbols_3.resharper_required_modifiers = instance
dotnet_naming_symbols.private_instance_fields_symbols_4.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols_4.applicable_kinds = field
dotnet_naming_symbols.private_instance_fields_symbols_4.resharper_applicable_kinds = field,readonly_field
dotnet_naming_symbols.private_instance_fields_symbols_4.resharper_required_modifiers = instance
dotnet_naming_symbols.private_instance_fields_symbols_5.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols_5.applicable_kinds = field
dotnet_naming_symbols.private_instance_fields_symbols_5.resharper_applicable_kinds = field,readonly_field
dotnet_naming_symbols.private_instance_fields_symbols_5.resharper_required_modifiers = instance
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.resharper_applicable_kinds = field
dotnet_naming_symbols.private_static_fields_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 = readonly,static
dotnet_naming_symbols.private_static_readonly_symbols.resharper_applicable_kinds = readonly_field
dotnet_naming_symbols.private_static_readonly_symbols.resharper_required_modifiers = static
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:suggestion
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
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 = for_non_interface_members:suggestion
# 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 = suggestion
resharper_arguments_style_literal_highlighting = suggestion
resharper_arguments_style_named_expression_highlighting = suggestion
resharper_arguments_style_other_highlighting = suggestion
resharper_arguments_style_string_literal_highlighting = suggestion
resharper_arrange_attributes_highlighting = suggestion
resharper_arrange_constructor_or_destructor_body_highlighting = suggestion
resharper_arrange_default_value_when_type_not_evident_highlighting = suggestion
resharper_arrange_local_function_body_highlighting = suggestion
resharper_arrange_method_or_operator_body_highlighting = suggestion
resharper_arrange_namespace_body_highlighting = suggestion
resharper_arrange_null_checking_pattern_highlighting = suggestion
resharper_arrange_object_creation_when_type_not_evident_highlighting = suggestion
resharper_arrange_redundant_parentheses_highlighting = suggestion
resharper_arrange_static_member_qualifier_highlighting = suggestion
resharper_arrange_this_qualifier_highlighting = suggestion
resharper_arrange_trailing_comma_in_multiline_lists_highlighting = suggestion
resharper_arrange_trailing_comma_in_singleline_lists_highlighting = suggestion
resharper_arrange_type_member_modifiers_highlighting = suggestion
resharper_arrange_type_modifiers_highlighting = suggestion
resharper_async_void_method_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_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 = warning
resharper_bad_linq_line_breaks_highlighting = warning
resharper_bad_list_line_breaks_highlighting = warning
resharper_bad_member_access_spaces_highlighting = warning
resharper_bad_namespace_braces_indent_highlighting = warning
resharper_bad_parens_line_breaks_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_built_in_type_reference_style_for_member_access_highlighting = suggestion
resharper_built_in_type_reference_style_highlighting = suggestion
resharper_can_replace_cast_with_lambda_return_type_highlighting = warning
resharper_can_replace_cast_with_shorter_type_argument_highlighting = warning
resharper_can_replace_cast_with_type_argument_highlighting = warning
resharper_can_replace_cast_with_variable_type_highlighting = warning
resharper_can_simplify_dictionary_lookup_with_try_add_highlighting = warning
resharper_can_simplify_dictionary_lookup_with_try_get_value_highlighting = warning
resharper_can_simplify_dictionary_removing_with_single_call_highlighting = warning
resharper_can_simplify_dictionary_try_get_value_with_get_value_or_default_highlighting = warning
resharper_can_simplify_is_assignable_from_highlighting = warning
resharper_can_simplify_is_instance_of_type_highlighting = warning
resharper_can_simplify_set_adding_with_single_call_highlighting = warning
resharper_can_simplify_string_escape_sequence_highlighting = warning
resharper_change_field_type_to_system_threading_lock_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_global_highlighting = warning
resharper_class_can_be_sealed_local_highlighting = warning
resharper_class_never_instantiated_global_highlighting = hint
resharper_class_never_instantiated_local_highlighting = hint
resharper_compare_non_constrained_generic_with_null_highlighting = suggestion
resharper_convert_conditional_ternary_expression_to_switch_expression_highlighting = warning
resharper_convert_if_do_to_while_highlighting = warning
resharper_convert_if_statement_to_return_statement_highlighting = suggestion
resharper_convert_if_statement_to_switch_statement_highlighting = suggestion
resharper_convert_if_to_or_expression_highlighting = warning
resharper_convert_switch_statement_to_switch_expression_highlighting = warning
resharper_convert_to_auto_property_when_possible_highlighting = suggestion
resharper_convert_to_auto_property_with_private_setter_highlighting = suggestion
resharper_convert_to_compound_assignment_highlighting = suggestion
resharper_convert_to_constant_global_highlighting = warning
resharper_convert_to_constant_local_highlighting = warning
resharper_double_negation_in_pattern_highlighting = warning
resharper_double_negation_operator_highlighting = warning
resharper_duplicated_switch_section_bodies_highlighting = warning
resharper_empty_region_highlighting = warning
resharper_enforce_do_while_statement_braces_highlighting = suggestion
resharper_enforce_fixed_statement_braces_highlighting = suggestion
resharper_enforce_foreach_statement_braces_highlighting = suggestion
resharper_enforce_for_statement_braces_highlighting = suggestion
resharper_enforce_if_statement_braces_highlighting = suggestion
resharper_enforce_lock_statement_braces_highlighting = suggestion
resharper_enforce_using_statement_braces_highlighting = suggestion
resharper_enforce_while_statement_braces_highlighting = suggestion
resharper_extract_common_branching_code_highlighting = suggestion
resharper_extract_common_property_pattern_highlighting = warning
resharper_field_can_be_made_read_only_global_highlighting = warning
resharper_field_can_be_made_read_only_local_highlighting = warning
resharper_function_complexity_overflow_highlighting = warning
resharper_incorrect_blank_lines_near_braces_highlighting = warning
resharper_inheritdoc_consider_usage_highlighting = warning
resharper_inline_temporary_variable_highlighting = suggestion
resharper_invert_condition_1_highlighting = suggestion
resharper_invocation_is_skipped_highlighting = warning
resharper_lambda_expression_can_be_made_static_highlighting = suggestion
resharper_local_function_can_be_made_static_highlighting = warning
resharper_loop_can_be_partly_converted_to_query_highlighting = hint
resharper_member_can_be_file_local_highlighting = warning
resharper_member_can_be_internal_highlighting = warning
resharper_member_can_be_made_static_global_highlighting = suggestion
resharper_member_can_be_made_static_local_highlighting = suggestion
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_cast_with_type_check_highlighting = warning
resharper_merge_into_logical_pattern_highlighting = suggestion
resharper_merge_into_negated_pattern_highlighting = suggestion
resharper_merge_sequential_checks_highlighting = suggestion
resharper_missing_blank_lines_highlighting = warning
resharper_missing_indent_highlighting = warning
resharper_missing_linebreak_highlighting = warning
resharper_missing_space_highlighting = warning
resharper_move_local_function_after_jump_statement_highlighting = warning
resharper_move_to_existing_positional_deconstruction_pattern_highlighting = suggestion
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_local_highlighting = suggestion
resharper_nullable_warning_suppression_is_used_highlighting = hint
resharper_outdent_is_off_prev_level_highlighting = warning
resharper_out_parameter_value_is_always_discarded_global_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 = suggestion
resharper_possible_unintended_queryable_as_enumerable_highlighting = warning
resharper_prefer_concrete_value_over_default_highlighting = warning
resharper_public_constructor_in_abstract_class_highlighting = warning
resharper_raw_string_can_be_simplified_highlighting = warning
resharper_redundant_accessor_body_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_base_qualifier_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_is_before_relational_pattern_highlighting = warning
resharper_redundant_lambda_signature_parentheses_highlighting = warning
resharper_redundant_linebreak_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_to_string_call_for_value_type_highlighting = warning
resharper_redundant_type_declaration_body_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_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_async_with_task_return_highlighting = warning
resharper_replace_auto_property_with_computed_property_highlighting = warning
resharper_replace_object_pattern_with_var_pattern_highlighting = warning
resharper_replace_sequence_equal_with_constant_pattern_highlighting = warning
resharper_replace_slice_with_range_indexer_highlighting = warning
resharper_replace_substring_with_range_indexer_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_safe_cast_is_used_as_type_check_highlighting = warning
resharper_separate_control_transfer_statement_highlighting = suggestion
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_string_interpolation_highlighting = warning
resharper_specify_string_comparison_highlighting = warning
resharper_string_ends_with_is_culture_specific_highlighting = warning
resharper_string_literal_as_interpolation_argument_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 = suggestion
resharper_suggest_var_or_type_built_in_types_highlighting = suggestion
resharper_suggest_var_or_type_deconstruction_declarations_highlighting = suggestion
resharper_suggest_var_or_type_elsewhere_highlighting = suggestion
resharper_suggest_var_or_type_simple_types_highlighting = suggestion
resharper_tabs_and_spaces_mismatch_highlighting = warning
resharper_tabs_are_disallowed_highlighting = suggestion
resharper_tabs_outside_indent_highlighting = warning
resharper_try_statements_can_be_merged_highlighting = warning
resharper_type_parameter_can_be_variant_highlighting = warning
resharper_unassigned_field_global_highlighting = hint
resharper_unassigned_field_local_highlighting = hint
resharper_unnecessary_whitespace_highlighting = suggestion
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_cancellation_token_for_i_async_enumerable_highlighting = warning
resharper_use_collection_count_property_highlighting = warning
resharper_use_configure_await_false_for_async_disposable_highlighting = suggestion
resharper_use_deconstruction_highlighting = suggestion
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_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_nameof_expression_for_part_of_the_string_highlighting = suggestion
resharper_use_negated_pattern_in_is_expression_highlighting = suggestion
resharper_use_negated_pattern_matching_highlighting = suggestion
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_positional_deconstruction_pattern_highlighting = suggestion
resharper_use_raw_string_highlighting = suggestion
resharper_use_switch_case_pattern_variable_highlighting = warning
resharper_use_symbol_alias_highlighting = none
resharper_use_throw_if_null_method_highlighting = warning
resharper_use_verbatim_string_highlighting = suggestion
resharper_using_statement_resource_initialization_expression_highlighting = warning
resharper_with_expression_instead_of_initializer_highlighting = warning
resharper_wrong_indent_size_highlighting = warning
##########################################
# File Extension Settings
##########################################
# Visual Studio Solution Files
[*.sln]
indent_style = tab
# Visual Studio XML Project Files
[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
# XML Configuration Files
[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
indent_size = 2
# JSON Files
[*.{json,json5,webmanifest}]
indent_size = 2
# YAML Files
[*.{yml,yaml}]
indent_size = 2
# Markdown Files
[*.{md,mdx}]
trim_trailing_whitespace = false
# Web Files
[*.{htm,html,js,jsm,ts,tsx,cjs,cts,ctsx,mjs,mts,mtsx,css,sass,scss,less,pcss,svg,vue}]
indent_size = 2
# Batch Files
[*.{cmd,bat}]
end_of_line = crlf
# Bash Files
[*.sh]
end_of_line = lf
# Makefiles
[Makefile]
indent_style = tab
##########################################
# Visual Studio Spell Checker
# https://learn.microsoft.com/visualstudio/ide/text-spell-checker
##########################################
# Note that you must have the relevant Windows language pack installed on your machine for this to work.
spelling_languages = en-GB # NEW
spelling_error_severity = information # NEW
spelling_checkable_types = # NEW
##########################################
# Default .NET Code Style Severities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/configuration-options#scope
##########################################
[*.{cs,csx,cake,vb,vbx}]
# Default Severity for all .NET Code Style rules below
dotnet_analyzer_diagnostic.severity = warning
dotnet_diagnostic.ide0055.severity = none
dotnet_diagnostic.ide0162.severity = none
##########################################
# Language Rules - .NET
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules
##########################################
[*.{cs,csx,cake,vb,vbx}]
# File header preferences
# file_header_template = <copyright file="{fileName}" company="PROJECT-AUTHOR">\n© PROJECT-AUTHOR\n</copyright>
# If you use StyleCop, you'll need to disable SA1636: File header copyright text should match.
# dotnet_diagnostic.SA1636.severity = none
# Expression-level preferences
dotnet_style_object_initializer = true
dotnet_style_collection_initializer = true
dotnet_style_coalesce_expression = true
dotnet_style_null_propagation = true
dotnet_style_prefer_auto_properties = true
dotnet_style_explicit_tuple_names = true
dotnet_style_prefer_inferred_tuple_names = true
dotnet_style_prefer_inferred_anonymous_type_member_names = true
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
dotnet_style_prefer_conditional_expression_over_assignment = false
dotnet_diagnostic.ide0045.severity = suggestion
dotnet_style_prefer_conditional_expression_over_return = false
dotnet_diagnostic.ide0046.severity = suggestion
dotnet_style_prefer_compound_assignment = true
dotnet_style_prefer_simplified_interpolation = true
dotnet_style_prefer_simplified_boolean_expressions = true
dotnet_style_namespace_match_folder = true
dotnet_diagnostic.ide0130.severity = suggestion
dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed
# Field preferences
dotnet_style_readonly_field = true # NEW
# Language keyword vs. framework types preferences
dotnet_style_predefined_type_for_locals_parameters_members = true # NEW
dotnet_style_predefined_type_for_member_access = true # NEW
# Modifier preferences
dotnet_style_require_accessibility_modifiers = always # NEW
# Parameter preferences
dotnet_code_quality_unused_parameters = all
# Parentheses preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
# Suppression preferences
dotnet_remove_unnecessary_suppression_exclusions = none
# "this."" preferences
dotnet_style_qualification_for_field = true
dotnet_style_qualification_for_property = true
dotnet_style_qualification_for_method = true
dotnet_style_qualification_for_event = true
##########################################
# Language Rules - C#
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules
##########################################
[*.{cs,csx,cake}]
# 'using' directive preferences
csharp_using_directive_placement = outside_namespace
# Code-block preferences
csharp_prefer_braces = true
csharp_prefer_simple_using_statement = true
dotnet_diagnostic.ide0063.severity = suggestion
csharp_style_namespace_declarations = file_scoped
csharp_style_prefer_method_group_conversion = true # NEW
csharp_style_prefer_top_level_statements = true # NEW
# Expression-bodied members
csharp_style_expression_bodied_constructors = true
csharp_style_expression_bodied_methods = true
csharp_style_expression_bodied_operators = true
csharp_style_expression_bodied_properties = true
csharp_style_expression_bodied_indexers = true
csharp_style_expression_bodied_accessors = true
csharp_style_expression_bodied_lambdas = true
csharp_style_expression_bodied_local_functions = true
# Expression-level preferences
csharp_style_unused_value_expression_statement_preference = discard_variable
dotnet_diagnostic.ide0058.severity = suggestion
csharp_style_unused_value_assignment_preference = discard_variable
dotnet_diagnostic.ide0059.severity = suggestion
csharp_style_throw_expression = true
csharp_style_inlined_variable_declaration = true
csharp_prefer_simple_default_expression = true
csharp_style_prefer_local_over_anonymous_function = true # New
csharp_style_deconstructed_variable_declaration = true
csharp_style_prefer_index_operator = true
csharp_style_prefer_range_operator = true
csharp_style_implicit_object_creation_when_type_is_apparent = true
csharp_style_prefer_null_check_over_type_check = true
csharp_style_prefer_tuple_swap = true # NEW
csharp_style_prefer_utf8_string_literals = true # NEW
# Modifier preferences
csharp_preferred_modifier_order = public,private,protected,internal,file,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,required,volatile,async
csharp_prefer_static_local_function = true
csharp_style_prefer_readonly_struct = true # NEW
csharp_style_prefer_readonly_struct_member = true # NEW
# "null" checking preferences
csharp_style_conditional_delegate_call = true
# Pattern-matching preferences
csharp_style_pattern_matching_over_as_with_null_check = true
csharp_style_pattern_matching_over_is_with_cast_check = true
csharp_style_prefer_switch_expression = true
csharp_style_prefer_pattern_matching = true
csharp_style_prefer_not_pattern = true
csharp_style_prefer_extended_property_pattern = true # NEW
# 'var' preferences
csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = true
# Undocumented
# https://github.com/dotnet/docs/issues/28791
csharp_style_prefer_primary_constructors = true # NEW
##########################################
# .NET Coding Conventions - .NET
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/dotnet-formatting-options
##########################################
[*.{cs,csx,cake,vb,vbx}]
# .NET code refactoring options
# https://learn.microsoft.com/visualstudio/ide/reference/code-styles-refactoring-options
dotnet_style_operator_placement_when_wrapping = end_of_line
##########################################
# Formatting Rules - .NET
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/dotnet-formatting-options
##########################################
[*.{cs,csx,cake,vb,vbx}]
# Using directive options
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false
##########################################
# Formatting Rules - C#
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/csharp-formatting-options
##########################################
[*.{cs,csx,cake}]
# Newline options
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#new-line-options
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
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true
# Indentation options
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#indentation-options
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = no_change
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents_when_block = false
# Spacing options
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#spacing-options
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_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_call_parameter_list_parentheses = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_after_comma = true
csharp_space_before_comma = false
csharp_space_after_dot = false
csharp_space_before_dot = false
csharp_space_after_semicolon_in_for_statement = true
csharp_space_before_semicolon_in_for_statement = false
csharp_space_around_declaration_statements = false
csharp_space_before_open_square_brackets = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_square_brackets = false
# Wrap options
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#wrap-options
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
##########################################
# .NET Naming Rules
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/naming-rules
##########################################
[*.{cs,csx,cake,vb,vbx}]
##########################################
# Styles
##########################################
# camel_case_style - Define the camelCase style
dotnet_naming_style.camel_case_style.capitalization = camel_case
# pascal_case_style - Define the PascalCase style
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# first_upper_style - The first character must start with an upper-case character
dotnet_naming_style.first_upper_style.capitalization = first_word_upper
# prefix_interface_with_i_style - Interfaces must be PascalCase and the first character of an interface must be an 'I'
dotnet_naming_style.prefix_interface_with_i_style.capitalization = pascal_case
dotnet_naming_style.prefix_interface_with_i_style.required_prefix = I
# prefix_type_parameters_with_t_style - Generic Type Parameters must be PascalCase and the first character must be a 'T'
dotnet_naming_style.prefix_type_parameters_with_t_style.capitalization = pascal_case
dotnet_naming_style.prefix_type_parameters_with_t_style.required_prefix = T
# disallowed_style - Anything that has this style applied is marked as disallowed
dotnet_naming_style.disallowed_style.capitalization = pascal_case
dotnet_naming_style.disallowed_style.required_prefix = ____RULE_VIOLATION____
dotnet_naming_style.disallowed_style.required_suffix = ____RULE_VIOLATION____
# internal_error_style - This style should never occur... if it does, it indicates a bug in file or in the parser using the file
dotnet_naming_style.internal_error_style.capitalization = pascal_case
dotnet_naming_style.internal_error_style.required_prefix = ____INTERNAL_ERROR____
dotnet_naming_style.internal_error_style.required_suffix = ____INTERNAL_ERROR____
##########################################
# .NET Design Guideline Field Naming Rules
# Naming rules for fields follow the .NET Framework design guidelines
# https://learn.microsoft.com/dotnet/standard/design-guidelines/
##########################################
# All public/protected/protected_internal constant fields must be PascalCase
# https://learn.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.public_protected_constant_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.public_protected_constant_fields_group.required_modifiers = const
dotnet_naming_symbols.public_protected_constant_fields_group.applicable_kinds = field
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.symbols = public_protected_constant_fields_group
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.severity = warning
# All public/protected/protected_internal static readonly fields must be PascalCase
# https://learn.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.public_protected_static_readonly_fields_group.required_modifiers = static, readonly
dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_kinds = field
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.symbols = public_protected_static_readonly_fields_group
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.severity = warning
# No other public/protected/protected_internal fields are allowed
# https://learn.microsoft.com/dotnet/standard/design-guidelines/field
dotnet_naming_symbols.other_public_protected_fields_group.applicable_accessibilities = public, protected, protected_internal
dotnet_naming_symbols.other_public_protected_fields_group.applicable_kinds = field
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.symbols = other_public_protected_fields_group
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.style = disallowed_style
dotnet_naming_rule.other_public_protected_fields_disallowed_rule.severity = error
##########################################
# StyleCop Field Naming Rules
# Naming rules for fields follow the StyleCop analyzers
# This does not override any rules using disallowed_style above
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
##########################################
# All constant fields must be PascalCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1303.md
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private
dotnet_naming_symbols.stylecop_constant_fields_group.required_modifiers = const
dotnet_naming_symbols.stylecop_constant_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.symbols = stylecop_constant_fields_group
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.severity = warning
# All static readonly fields must be PascalCase (Override to all static)
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1311.md
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private
dotnet_naming_symbols.stylecop_static_readonly_fields_group.required_modifiers = static
dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.symbols = stylecop_static_readonly_fields_group
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.severity = warning
# No non-private instance fields are allowed
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1401.md
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected
dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_kinds = field
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.symbols = stylecop_fields_must_be_private_group
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.style = disallowed_style
dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.severity = error
# Private fields must be camelCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1306.md
dotnet_naming_symbols.stylecop_private_fields_group.applicable_accessibilities = private
dotnet_naming_symbols.stylecop_private_fields_group.applicable_kinds = field
dotnet_naming_rule.stylecop_private_fields_must_be_camel_case_rule.symbols = stylecop_private_fields_group
dotnet_naming_rule.stylecop_private_fields_must_be_camel_case_rule.style = camel_case_style
dotnet_naming_rule.stylecop_private_fields_must_be_camel_case_rule.severity = warning
# Local variables must be camelCase
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1312.md
dotnet_naming_symbols.stylecop_local_fields_group.applicable_accessibilities = local
dotnet_naming_symbols.stylecop_local_fields_group.applicable_kinds = local
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.symbols = stylecop_local_fields_group
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.style = camel_case_style
dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.severity = silent
# This rule should never fire. However, it's included for at least two purposes:
# First, it helps to understand, reason about, and root-case certain types of issues, such as bugs in .editorconfig parsers.
# Second, it helps to raise immediate awareness if a new field type is added (as occurred recently in C#).
dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_accessibilities = *
dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_kinds = field
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.symbols = sanity_check_uncovered_field_case_group
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.style = internal_error_style
dotnet_naming_rule.sanity_check_uncovered_field_case_rule.severity = error
##########################################
# Other Naming Rules
##########################################
# All of the following must be PascalCase:
# - Namespaces
# https://learn.microsoft.com/dotnet/standard/design-guidelines/names-of-namespaces
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
# - Classes and Enumerations
# https://learn.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
# - Delegates
# https://learn.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces#names-of-common-types
# - Constructors, Properties, Events, Methods
# https://learn.microsoft.com/dotnet/standard/design-guidelines/names-of-type-members
dotnet_naming_symbols.element_group.applicable_kinds = namespace, class, enum, struct, delegate, event, method, property
dotnet_naming_rule.element_rule.symbols = element_group
dotnet_naming_rule.element_rule.style = pascal_case_style
dotnet_naming_rule.element_rule.severity = warning
# Interfaces use PascalCase and are prefixed with uppercase 'I'
# https://learn.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
dotnet_naming_symbols.interface_group.applicable_kinds = interface
dotnet_naming_rule.interface_rule.symbols = interface_group
dotnet_naming_rule.interface_rule.style = prefix_interface_with_i_style
dotnet_naming_rule.interface_rule.severity = warning
# Generics Type Parameters use PascalCase and are prefixed with uppercase 'T'
# https://learn.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
dotnet_naming_symbols.type_parameter_group.applicable_kinds = type_parameter
dotnet_naming_rule.type_parameter_rule.symbols = type_parameter_group
dotnet_naming_rule.type_parameter_rule.style = prefix_type_parameters_with_t_style
dotnet_naming_rule.type_parameter_rule.severity = warning
# Function parameters use camelCase
# https://learn.microsoft.com/dotnet/standard/design-guidelines/naming-parameters
dotnet_naming_symbols.parameters_group.applicable_kinds = parameter
dotnet_naming_rule.parameters_rule.symbols = parameters_group
dotnet_naming_rule.parameters_rule.style = camel_case_style
dotnet_naming_rule.parameters_rule.severity = warning
##########################################
# License
##########################################
# The following applies as to the .editorconfig file ONLY, and is
# included below for reference, per the requirements of the license
# corresponding to this .editorconfig file.
# See: https://github.com/RehanSaeed/EditorConfig
#
# MIT License
#
# Copyright (c) 2017-2019 Muhammad Rehan Saeed
# Copyright (c) 2019 Henry Gabryjelski
#
# Permission is hereby granted, free of charge, to any
# person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the
# Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject
# to the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
##########################################
[*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,jsproj,lsproj,njsproj,nuspec,proj,props,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}]
indent_style = tab
indent_size = tab
tab_width = 4
[*.{asax,ascx,aspx,axaml,cs,cshtml,htm,html,master,paml,razor,skin,vb,xaml,xamlx,xoml}]
indent_style = space
indent_size = 4
tab_width = 4