-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
1335 lines (927 loc) · 53.1 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
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
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[*.cs]
# Default severity for analyzer diagnostics with category 'StyleCop.CSharp.DocumentationRules'
dotnet_analyzer_diagnostic.category-stylecop.csharp.documentationrules.severity = none
[*.{asax,ascx,aspx,axaml,cs,cshtml,css,htm,html,js,jsx,master,paml,razor,skin,ts,tsx,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_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
csharp_prefer_braces = true:warning
csharp_space_after_cast = true
csharp_style_expression_bodied_accessors = true:suggestion
csharp_style_expression_bodied_constructors = true:none
csharp_style_expression_bodied_methods = true:none
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_namespace_declarations = block_scoped:suggestion
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.constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.constants_rule.severity = warning
dotnet_naming_rule.constants_rule.style = all_upper_style
dotnet_naming_rule.constants_rule.symbols = constants_symbols
dotnet_naming_rule.local_constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.local_constants_rule.severity = warning
dotnet_naming_rule.local_constants_rule.style = all_upper_style
dotnet_naming_rule.local_constants_rule.symbols = local_constants_symbols
dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_constants_rule.severity = warning
dotnet_naming_rule.private_constants_rule.style = all_upper_style
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_instance_fields_rule.severity = 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_static_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_fields_rule.severity = warning
dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_readonly_rule.severity = 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_rule.public_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.public_fields_rule.severity = warning
dotnet_naming_rule.public_fields_rule.style = lower_camel_case_style
dotnet_naming_rule.public_fields_rule.symbols = public_fields_symbols
dotnet_naming_rule.static_readonly_rule.import_to_resharper = as_predefined
dotnet_naming_rule.static_readonly_rule.severity = warning
dotnet_naming_rule.static_readonly_rule.style = upper_camel_case_style
dotnet_naming_rule.static_readonly_rule.symbols = static_readonly_symbols
dotnet_naming_style.all_upper_style.capitalization = all_upper
dotnet_naming_style.all_upper_style.word_separator = _
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
dotnet_naming_symbols.constants_symbols.applicable_kinds = field
dotnet_naming_symbols.constants_symbols.required_modifiers = const
dotnet_naming_symbols.local_constants_symbols.applicable_accessibilities = *
dotnet_naming_symbols.local_constants_symbols.applicable_kinds = local
dotnet_naming_symbols.local_constants_symbols.required_modifiers = const
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field
dotnet_naming_symbols.private_constants_symbols.required_modifiers = const
dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly
dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
dotnet_naming_symbols.public_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected
dotnet_naming_symbols.static_readonly_symbols.applicable_kinds = field
dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static,readonly
dotnet_sort_system_directives_first = false
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 properties
resharper_apply_on_completion = true
resharper_braces_redundant = true
resharper_csharp_empty_block_style = together_same_line
resharper_csharp_keep_blank_lines_in_code = 1
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_csharp_max_line_length = 150
resharper_instance_members_qualify_declared_in = this_class
resharper_local_function_body = expression_body
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_trailing_comma_in_multiline_lists = true
# ReSharper inspection severities
resharper_arrange_namespace_body_highlighting = hint
resharper_arrange_object_creation_when_type_not_evident_highlighting = none
resharper_arrange_type_member_modifiers_highlighting = hint
resharper_arrange_type_modifiers_highlighting = hint
resharper_async_void_lambda_highlighting = suggestion
resharper_async_void_method_highlighting = hint
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
resharper_built_in_type_reference_style_highlighting = hint
resharper_convert_to_using_declaration_highlighting = none
resharper_event_never_subscribed_to_global_highlighting = hint
resharper_explicit_caller_info_argument_highlighting = hint
resharper_function_complexity_overflow_highlighting = suggestion
resharper_inheritdoc_consider_usage_highlighting = hint
resharper_loop_can_be_partly_converted_to_query_highlighting = hint
resharper_merge_cast_with_type_check_highlighting = warning
resharper_merge_into_negated_pattern_highlighting = none
resharper_merge_into_pattern_highlighting = none
resharper_nullable_warning_suppression_is_used_highlighting = warning
resharper_possible_unintended_queryable_as_enumerable_highlighting = warning
resharper_redundant_base_qualifier_highlighting = warning
resharper_return_type_can_be_enumerable_global_highlighting = none
resharper_safe_cast_is_used_as_type_check_highlighting = warning
resharper_string_literal_wrong_quotes_highlighting = none
resharper_suggest_var_or_type_deconstruction_declarations_highlighting = suggestion
resharper_suggest_var_or_type_elsewhere_highlighting = hint
resharper_suspicious_type_conversion_global_highlighting = error
resharper_tail_recursive_call_highlighting = none
resharper_unnecessary_whitespace_highlighting = hint
resharper_unused_auto_property_accessor_global_highlighting = hint
resharper_use_switch_case_pattern_variable_highlighting = warning
resharper_wrong_public_modifier_specification_highlighting = none
# CUSTOM
dotnet_diagnostic.CA1416.severity = silent
dotnet_diagnostic.VSTHRD002.severity = silent
# CODE_SMELL
# S1147: Blocker :: Exit methods should not be called
dotnet_diagnostic.S1147.severity = warning
# S1451: Blocker :: Track lack of copyright and license headers
dotnet_diagnostic.S1451.severity = none
# S2178: Blocker :: Short-circuit logic should be used in boolean contexts
dotnet_diagnostic.S2178.severity = warning
# S2187: Blocker :: TestCases should contain tests
dotnet_diagnostic.S2187.severity = warning
# S2368: Blocker :: Public methods should not have multidimensional array parameters
dotnet_diagnostic.S2368.severity = warning
# S2387: Blocker :: Child class fields should not shadow parent class fields
dotnet_diagnostic.S2387.severity = warning
# S2437: Blocker :: Silly bit operations should not be performed
dotnet_diagnostic.S2437.severity = warning
# S2699: Blocker :: Tests should include assertions
dotnet_diagnostic.S2699.severity = warning
# S2953: Blocker :: Methods named "Dispose" should implement "IDisposable.Dispose"
dotnet_diagnostic.S2953.severity = warning
# S3060: Blocker :: "is" should not be used with "this"
dotnet_diagnostic.S3060.severity = warning
# S3237: Blocker :: "value" parameters should be used
dotnet_diagnostic.S3237.severity = warning
# S3427: Blocker :: Method overloads with default parameter values should not overlap
dotnet_diagnostic.S3427.severity = warning
# S3433: Blocker :: Test method signatures should be correct
dotnet_diagnostic.S3433.severity = warning
# S3443: Blocker :: Type should not be examined on "System.Type" instances
dotnet_diagnostic.S3443.severity = warning
# S3875: Blocker :: "operator==" should not be overloaded on reference types
dotnet_diagnostic.S3875.severity = warning
# S3877: Blocker :: Exceptions should not be thrown from unexpected methods
dotnet_diagnostic.S3877.severity = warning
# S4462: Blocker :: Calls to "async" methods should not be blocking
dotnet_diagnostic.S4462.severity = warning
# S1006: Critical :: Method overrides should not change parameter defaults
dotnet_diagnostic.S1006.severity = warning
# S1067: Critical :: Expressions should not be too complex
dotnet_diagnostic.S1067.severity = warning
# S1163: Critical :: Exceptions should not be thrown in finally blocks
dotnet_diagnostic.S1163.severity = warning
# S1186: Critical :: Methods should not be empty
dotnet_diagnostic.S1186.severity = warning
# S1215: Critical :: "GC.Collect" should not be called
dotnet_diagnostic.S1215.severity = warning
# S121: Critical :: Control structures should use curly braces
dotnet_diagnostic.S121.severity = warning
# S126: Critical :: "if ... else if" constructs should end with "else" clauses
dotnet_diagnostic.S126.severity = warning
# S131: Critical :: "switch/Select" statements should contain a "default/Case Else" clauses
dotnet_diagnostic.S131.severity = warning
# S134: Critical :: Control flow statements "if", "switch", "for", "foreach", "while", "do" and "try" should not be nested too deeply
dotnet_diagnostic.S134.severity = warning
# S1541: Critical :: Methods and properties should not be too complex
dotnet_diagnostic.S1541.severity = warning
# S1699: Critical :: Constructors should only call non-overridable methods
dotnet_diagnostic.S1699.severity = warning
# S1821: Critical :: "switch" statements should not be nested
dotnet_diagnostic.S1821.severity = warning
# S1944: Critical :: Inappropriate casts should not be made
dotnet_diagnostic.S1944.severity = warning
# S1994: Critical :: "for" loop increment clauses should modify the loops' counters
dotnet_diagnostic.S1994.severity = warning
# S2197: Critical :: Modulus results should not be checked for direct equality
dotnet_diagnostic.S2197.severity = warning
# S2223: Critical :: Non-constant static fields should not be visible
dotnet_diagnostic.S2223.severity = warning
# S2290: Critical :: Field-like events should not be virtual
dotnet_diagnostic.S2290.severity = warning
# S2291: Critical :: Overflow checking should not be disabled for "Enumerable.Sum"
dotnet_diagnostic.S2291.severity = warning
# S2302: Critical :: "nameof" should be used
dotnet_diagnostic.S2302.severity = warning
# S2330: Critical :: Array covariance should not be used
dotnet_diagnostic.S2330.severity = warning
# S2339: Critical :: Public constant members should not be used
dotnet_diagnostic.S2339.severity = silent
# S2346: Critical :: Flags enumerations zero-value members should be named "None"
dotnet_diagnostic.S2346.severity = warning
# S2360: Critical :: Optional parameters should not be used
dotnet_diagnostic.S2360.severity = silent
# S2365: Critical :: Properties should not make collection or array copies
dotnet_diagnostic.S2365.severity = warning
# S2479: Critical :: Whitespace and control characters in string literals should be explicit
dotnet_diagnostic.S2479.severity = warning
# S2692: Critical :: "IndexOf" checks should not be for positive numbers
dotnet_diagnostic.S2692.severity = warning
# S2696: Critical :: Instance members should not write to "static" fields
dotnet_diagnostic.S2696.severity = warning
# S2701: Critical :: Literal boolean values should not be used in assertions
dotnet_diagnostic.S2701.severity = warning
# S3215: Critical :: "interface" instances should not be cast to concrete types
dotnet_diagnostic.S3215.severity = warning
# S3216: Critical :: "ConfigureAwait(false)" should be used
dotnet_diagnostic.S3216.severity = warning
# S3217: Critical :: "Explicit" conversions of "foreach" loops should not be used
dotnet_diagnostic.S3217.severity = warning
# S3218: Critical :: Inner class members should not shadow outer class "static" or type members
dotnet_diagnostic.S3218.severity = warning
# S3265: Critical :: Non-flags enums should not be used in bitwise operations
dotnet_diagnostic.S3265.severity = warning
# S3353: Critical :: Unchanged local variables should be "const"
dotnet_diagnostic.S3353.severity = warning
# S3447: Critical :: "[Optional]" should not be used on "ref" or "out" parameters
dotnet_diagnostic.S3447.severity = warning
# S3451: Critical :: "[DefaultValue]" should not be used when "[DefaultParameterValue]" is meant
dotnet_diagnostic.S3451.severity = warning
# S3600: Critical :: "params" should not be introduced on overrides
dotnet_diagnostic.S3600.severity = warning
# S3776: Critical :: Cognitive Complexity of methods should not be too high
dotnet_diagnostic.S3776.severity = warning
# S3871: Critical :: Exception types should be "public"
dotnet_diagnostic.S3871.severity = warning
# S3874: Critical :: "out" and "ref" parameters should not be used
dotnet_diagnostic.S3874.severity = warning
# S3904: Critical :: Assemblies should have version information
dotnet_diagnostic.S3904.severity = warning
# S3937: Critical :: Number patterns should be regular
dotnet_diagnostic.S3937.severity = warning
# S3972: Critical :: Conditionals should start on new lines
dotnet_diagnostic.S3972.severity = warning
# S3973: Critical :: A conditionally executed single line should be denoted by indentation
dotnet_diagnostic.S3973.severity = warning
# S3998: Critical :: Threads should not lock on objects with weak identity
dotnet_diagnostic.S3998.severity = warning
# S4000: Critical :: Pointers to unmanaged memory should not be visible
dotnet_diagnostic.S4000.severity = warning
# S4015: Critical :: Inherited member visibility should not be decreased
dotnet_diagnostic.S4015.severity = warning
# S4019: Critical :: Base class methods should not be hidden
dotnet_diagnostic.S4019.severity = warning
# S4025: Critical :: Child class fields should not differ from parent class fields only by capitalization
dotnet_diagnostic.S4025.severity = warning
# S4039: Critical :: Interface methods should be callable by derived types
dotnet_diagnostic.S4039.severity = warning
# S4487: Critical :: Unread "private" fields should be removed
dotnet_diagnostic.S4487.severity = warning
# S4524: Critical :: "default" clauses should be first or last
dotnet_diagnostic.S4524.severity = warning
# S4635: Critical :: String offset-based methods should be preferred for finding substrings from offsets
dotnet_diagnostic.S4635.severity = warning
# S5034: Critical :: "ValueTask" should be consumed correctly
dotnet_diagnostic.S5034.severity = warning
# S927: Critical :: Parameter names should match base declaration and other partial definitions
dotnet_diagnostic.S927.severity = warning
# S1135: Info :: Track uses of "TODO" tags
dotnet_diagnostic.S1135.severity = warning
# S1309: Info :: Track uses of in-source issue suppressions
dotnet_diagnostic.S1309.severity = warning
# S103: Major :: Lines should not be too long
dotnet_diagnostic.S103.severity = warning
# S104: Major :: Files should not have too many lines of code
dotnet_diagnostic.S104.severity = warning
# S1066: Major :: Collapsible "if" statements should be merged
dotnet_diagnostic.S1066.severity = warning
# S106: Major :: Standard outputs should not be used directly to log anything
dotnet_diagnostic.S106.severity = warning
# S107: Major :: Methods should not have too many parameters
dotnet_diagnostic.S107.severity = warning
# S108: Major :: Nested blocks of code should not be left empty
dotnet_diagnostic.S108.severity = warning
# S109: Major :: Magic numbers should not be used
dotnet_diagnostic.S109.severity = warning
# S110: Major :: Inheritance tree of classes should not be too deep
dotnet_diagnostic.S110.severity = warning
# S1110: Major :: Redundant pairs of parentheses should be removed
dotnet_diagnostic.S1110.severity = warning
# S1117: Major :: Local variables should not shadow class fields
dotnet_diagnostic.S1117.severity = error
# S1118: Major :: Utility classes should not have public constructors
dotnet_diagnostic.S1118.severity = warning
# S1121: Major :: Assignments should not be made from within sub-expressions
dotnet_diagnostic.S1121.severity = warning
# S1123: Major :: "Obsolete" attributes should include explanations
dotnet_diagnostic.S1123.severity = warning
# S112: Major :: General exceptions should never be thrown
dotnet_diagnostic.S112.severity = warning
# S1134: Major :: Track uses of "FIXME" tags
dotnet_diagnostic.S1134.severity = warning
# S1144: Major :: Unused private types or members should be removed
dotnet_diagnostic.S1144.severity = warning
# S1151: Major :: "switch case" clauses should not have too many lines of code
dotnet_diagnostic.S1151.severity = warning
# S1168: Major :: Empty arrays and collections should be returned instead of null
dotnet_diagnostic.S1168.severity = warning
# S1172: Major :: Unused method parameters should be removed
dotnet_diagnostic.S1172.severity = warning
# S1200: Major :: Classes should not be coupled to too many other classes (Single Responsibility Principle)
dotnet_diagnostic.S1200.severity = warning
# S122: Major :: Statements should be on separate lines
dotnet_diagnostic.S122.severity = warning
# S125: Major :: Sections of code should not be commented out
dotnet_diagnostic.S125.severity = warning
# S127: Major :: "for" loop stop conditions should be invariant
dotnet_diagnostic.S127.severity = warning
# S138: Major :: Functions should not have too many lines of code
dotnet_diagnostic.S138.severity = warning
# S1479: Major :: "switch" statements should not have too many "case" clauses
dotnet_diagnostic.S1479.severity = warning
# S1607: Major :: Tests should not be ignored
dotnet_diagnostic.S1607.severity = warning
# S1696: Major :: NullReferenceException should not be caught
dotnet_diagnostic.S1696.severity = warning
# S1854: Major :: Unused assignments should be removed
dotnet_diagnostic.S1854.severity = warning
# S1871: Major :: Two branches in a conditional structure should not have exactly the same implementation
dotnet_diagnostic.S1871.severity = warning
# S2234: Major :: Parameters should be passed in the correct order
dotnet_diagnostic.S2234.severity = warning
# S2326: Major :: Unused type parameters should be removed
dotnet_diagnostic.S2326.severity = warning
# S2327: Major :: "try" statements with identical "catch" and/or "finally" blocks should be merged
dotnet_diagnostic.S2327.severity = warning
# S2357: Major :: Fields should be private
dotnet_diagnostic.S2357.severity = warning
# S2372: Major :: Exceptions should not be thrown from property getters
dotnet_diagnostic.S2372.severity = warning
# S2376: Major :: Write-only properties should not be used
dotnet_diagnostic.S2376.severity = warning
# S2436: Major :: Types and methods should not have too many generic parameters
dotnet_diagnostic.S2436.severity = warning
# S2589: Major :: Boolean expressions should not be gratuitous
dotnet_diagnostic.S2589.severity = warning
# S2681: Major :: Multiline blocks should be enclosed in curly braces
dotnet_diagnostic.S2681.severity = warning
# S2743: Major :: Static fields should not be used in generic types
dotnet_diagnostic.S2743.severity = warning
# S2933: Major :: Fields that are only assigned in the constructor should be "readonly"
dotnet_diagnostic.S2933.severity = warning
# S2971: Major :: "IEnumerable" LINQs should be simplified
dotnet_diagnostic.S2971.severity = warning
# S3010: Major :: Static fields should not be updated in constructors
dotnet_diagnostic.S3010.severity = warning
# S3011: Major :: Reflection should not be used to increase accessibility of classes, methods, or fields
dotnet_diagnostic.S3011.severity = warning
# S3169: Major :: Multiple "OrderBy" calls should not be used
dotnet_diagnostic.S3169.severity = warning
# S3246: Major :: Generic type parameters should be co/contravariant when possible
dotnet_diagnostic.S3246.severity = warning
# S3262: Major :: "params" should be used on overrides
dotnet_diagnostic.S3262.severity = warning
# S3264: Major :: Events should be invoked
dotnet_diagnostic.S3264.severity = warning
# S3358: Major :: Ternary operators should not be nested
dotnet_diagnostic.S3358.severity = warning
# S3366: Major :: "this" should not be exposed from constructors
dotnet_diagnostic.S3366.severity = warning
# S3415: Major :: Assertion arguments should be passed in the correct order
dotnet_diagnostic.S3415.severity = warning
# S3431: Major :: "[ExpectedException]" should not be used
dotnet_diagnostic.S3431.severity = warning
# S3442: Major :: "abstract" classes should not have "public" constructors
dotnet_diagnostic.S3442.severity = warning
# S3445: Major :: Exceptions should not be explicitly rethrown
dotnet_diagnostic.S3445.severity = warning
# S3457: Major :: Composite format strings should be used correctly
dotnet_diagnostic.S3457.severity = warning
# S3597: Major :: "ServiceContract" and "OperationContract" attributes should be used together
dotnet_diagnostic.S3597.severity = warning
# S3880: Major :: Finalizers should not be empty
dotnet_diagnostic.S3880.severity = warning
# S3881: Major :: "IDisposable" should be implemented correctly
dotnet_diagnostic.S3881.severity = warning
# S3885: Major :: "Assembly.Load" should be used
dotnet_diagnostic.S3885.severity = warning
# S3898: Major :: Value types should implement "IEquatable<T>"
dotnet_diagnostic.S3898.severity = warning
# S3900: Major :: Arguments of public methods should be validated against null
dotnet_diagnostic.S3900.severity = warning
# S3902: Major :: "Assembly.GetExecutingAssembly" should not be called
dotnet_diagnostic.S3902.severity = silent
# S3906: Major :: Event Handlers should have the correct signature
dotnet_diagnostic.S3906.severity = warning
# S3908: Major :: Generic event handlers should be used
dotnet_diagnostic.S3908.severity = warning
# S3909: Major :: Collections should implement the generic interface
dotnet_diagnostic.S3909.severity = warning
# S3925: Major :: "ISerializable" should be implemented correctly
dotnet_diagnostic.S3925.severity = warning
# S3928: Major :: Parameter names used into ArgumentException constructors should match an existing one
dotnet_diagnostic.S3928.severity = warning
# S3956: Major :: "Generic.List" instances should not be part of public APIs
dotnet_diagnostic.S3956.severity = warning
# S3966: Major :: Objects should not be disposed more than once
dotnet_diagnostic.S3966.severity = warning
# S3971: Major :: "GC.SuppressFinalize" should not be called
dotnet_diagnostic.S3971.severity = warning
# S3990: Major :: Assemblies should be marked as CLS compliant
dotnet_diagnostic.S3990.severity = warning
# S3992: Major :: Assemblies should explicitly specify COM visibility
dotnet_diagnostic.S3992.severity = warning
# S3993: Major :: Custom attributes should be marked with "System.AttributeUsageAttribute"
dotnet_diagnostic.S3993.severity = warning
# S3994: Major :: URI Parameters should not be strings
dotnet_diagnostic.S3994.severity = warning
# S3995: Major :: URI return values should not be strings
dotnet_diagnostic.S3995.severity = warning
# S3996: Major :: URI properties should not be strings
dotnet_diagnostic.S3996.severity = warning
# S3997: Major :: String URI overloads should call "System.Uri" overloads
dotnet_diagnostic.S3997.severity = warning
# S4002: Major :: Disposable types should declare finalizers
dotnet_diagnostic.S4002.severity = warning
# S4004: Major :: Collection properties should be readonly
dotnet_diagnostic.S4004.severity = warning
# S4005: Major :: "System.Uri" arguments should be used instead of strings
dotnet_diagnostic.S4005.severity = warning
# S4016: Major :: Enumeration members should not be named "Reserved"
dotnet_diagnostic.S4016.severity = warning
# S4017: Major :: Method signatures should not contain nested generic types
dotnet_diagnostic.S4017.severity = warning
# S4035: Major :: Classes implementing "IEquatable<T>" should be sealed
dotnet_diagnostic.S4035.severity = warning
# S4050: Major :: Operators should be overloaded consistently
dotnet_diagnostic.S4050.severity = warning
# S4055: Major :: Literals should not be passed as localized parameters
dotnet_diagnostic.S4055.severity = none
# S4057: Major :: Locales should be set for data types
dotnet_diagnostic.S4057.severity = warning
# S4059: Major :: Property names should not match get methods
dotnet_diagnostic.S4059.severity = warning
# S4070: Major :: Non-flags enums should not be marked with "FlagsAttribute"
dotnet_diagnostic.S4070.severity = warning
# S4142: Major :: Duplicate values should not be passed as arguments
dotnet_diagnostic.S4142.severity = warning
# S4144: Major :: Methods should not have identical implementations
dotnet_diagnostic.S4144.severity = warning
# S4200: Major :: Native methods should be wrapped
dotnet_diagnostic.S4200.severity = warning
# S4214: Major :: "P/Invoke" methods should not be visible
dotnet_diagnostic.S4214.severity = warning
# S4220: Major :: Events should have proper arguments
dotnet_diagnostic.S4220.severity = warning
# S4456: Major :: Parameter validation in yielding methods should be wrapped
dotnet_diagnostic.S4456.severity = warning
# S4457: Major :: Parameter validation in "async"/"await" methods should be wrapped
dotnet_diagnostic.S4457.severity = warning
# S4581: Major :: "new Guid()" should not be used
dotnet_diagnostic.S4581.severity = warning
# S881: Major :: Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression
dotnet_diagnostic.S881.severity = warning
# S907: Major :: "goto" statement should not be used
dotnet_diagnostic.S907.severity = warning
# S100: Minor :: Methods and properties should be named in PascalCase
dotnet_diagnostic.S100.severity = warning
# S101: Minor :: Types should be named in PascalCase
dotnet_diagnostic.S101.severity = warning
# S105: Minor :: Tabulation characters should not be used
dotnet_diagnostic.S105.severity = warning
# S1075: Minor :: URIs should not be hardcoded
dotnet_diagnostic.S1075.severity = warning
# S1104: Minor :: Fields should not have public accessibility
dotnet_diagnostic.S1104.severity = warning
# S1109: Minor :: A close curly brace should be located at the beginning of a line
dotnet_diagnostic.S1109.severity = silent
# S1116: Minor :: Empty statements should be removed
dotnet_diagnostic.S1116.severity = warning
# S1125: Minor :: Boolean literals should not be redundant
dotnet_diagnostic.S1125.severity = warning
# S1128: Minor :: Unused "using" should be removed
dotnet_diagnostic.S1128.severity = warning
# S113: Minor :: Files should contain an empty newline at the end
dotnet_diagnostic.S113.severity = silent
# S1155: Minor :: "Any()" should be used to test for emptiness
dotnet_diagnostic.S1155.severity = silent
# S1185: Minor :: Overriding members should do more than simply call the same member in the base class
dotnet_diagnostic.S1185.severity = warning
# S1192: Minor :: String literals should not be duplicated
dotnet_diagnostic.S1192.severity = warning
# S1199: Minor :: Nested code blocks should not be used
dotnet_diagnostic.S1199.severity = silent
# S1210: Minor :: "Equals" and the comparison operators should be overridden when implementing "IComparable"
dotnet_diagnostic.S1210.severity = warning
# S1227: Minor :: break statements should not be used except for switch cases
dotnet_diagnostic.S1227.severity = warning
# S1264: Minor :: A "while" loop should be used instead of a "for" loop
dotnet_diagnostic.S1264.severity = silent
# S1301: Minor :: "switch" statements should have at least 3 "case" clauses
dotnet_diagnostic.S1301.severity = silent
# S1449: Minor :: Culture should be specified for "string" operations
dotnet_diagnostic.S1449.severity = silent
# S1450: Minor :: Private fields only used as local variables in methods should become local variables
dotnet_diagnostic.S1450.severity = warning
# S1481: Minor :: Unused local variables should be removed
dotnet_diagnostic.S1481.severity = warning
# S1643: Minor :: Strings should not be concatenated using '+' in a loop
dotnet_diagnostic.S1643.severity = warning
# S1659: Minor :: Multiple variables should not be declared on the same line
dotnet_diagnostic.S1659.severity = warning
# S1694: Minor :: An abstract class should have both abstract and concrete methods
dotnet_diagnostic.S1694.severity = warning
# S1698: Minor :: "==" should not be used when "Equals" is overridden
dotnet_diagnostic.S1698.severity = warning
# S1858: Minor :: "ToString()" calls should not be redundant
dotnet_diagnostic.S1858.severity = warning
# S1905: Minor :: Redundant casts should not be used
dotnet_diagnostic.S1905.severity = warning
# S1939: Minor :: Inheritance list should not be redundant
dotnet_diagnostic.S1939.severity = warning
# S1940: Minor :: Boolean checks should not be inverted
dotnet_diagnostic.S1940.severity = warning
# S2148: Minor :: Underscores should be used to make large numbers readable
dotnet_diagnostic.S2148.severity = silent
# S2156: Minor :: "sealed" classes should not have "protected" members
dotnet_diagnostic.S2156.severity = warning
# S2219: Minor :: Runtime type checking should be simplified
dotnet_diagnostic.S2219.severity = warning
# S2221: Minor :: "Exception" should not be caught when not required by called methods
dotnet_diagnostic.S2221.severity = none
# S2292: Minor :: Trivial properties should be auto-implemented
dotnet_diagnostic.S2292.severity = warning
# S2325: Minor :: Methods and properties that don't access instance data should be static
dotnet_diagnostic.S2325.severity = warning
# S2333: Minor :: Redundant modifiers should not be used
dotnet_diagnostic.S2333.severity = warning
# S2342: Minor :: Enumeration types should comply with a naming convention
dotnet_diagnostic.S2342.severity = warning
# S2344: Minor :: Enumeration type names should not have "Flags" or "Enum" suffixes
dotnet_diagnostic.S2344.severity = warning
# S2386: Minor :: Mutable fields should not be "public static"
dotnet_diagnostic.S2386.severity = warning
# S2486: Minor :: Generic exceptions should not be ignored
dotnet_diagnostic.S2486.severity = warning
# S2737: Minor :: "catch" clauses should do more than rethrow
dotnet_diagnostic.S2737.severity = warning
# S2760: Minor :: Sequential tests should not check the same condition
dotnet_diagnostic.S2760.severity = warning
# S3052: Minor :: Members should not be initialized to default values
dotnet_diagnostic.S3052.severity = warning
# S3220: Minor :: Method calls should not resolve ambiguously to overloads with "params"
dotnet_diagnostic.S3220.severity = warning
# S3234: Minor :: "GC.SuppressFinalize" should not be invoked for types without destructors
dotnet_diagnostic.S3234.severity = silent
# S3235: Minor :: Redundant parentheses should not be used
dotnet_diagnostic.S3235.severity = warning
# S3236: Minor :: Caller information arguments should not be provided explicitly
dotnet_diagnostic.S3236.severity = warning
# S3240: Minor :: The simplest possible condition syntax should be used
dotnet_diagnostic.S3240.severity = warning
# S3241: Minor :: Methods should not return values that are never used
dotnet_diagnostic.S3241.severity = warning
# S3242: Minor :: Method parameters should be declared with base types
dotnet_diagnostic.S3242.severity = warning
# S3247: Minor :: Duplicate casts should not be made
dotnet_diagnostic.S3247.severity = warning
# S3251: Minor :: Implementations should be provided for "partial" methods
dotnet_diagnostic.S3251.severity = warning
# S3253: Minor :: Constructor and destructor declarations should not be redundant
dotnet_diagnostic.S3253.severity = warning
# S3254: Minor :: Default parameter values should not be passed as arguments
dotnet_diagnostic.S3254.severity = warning
# S3256: Minor :: "string.IsNullOrEmpty" should be used
dotnet_diagnostic.S3256.severity = warning
# S3257: Minor :: Declarations and initializations should be as concise as possible
dotnet_diagnostic.S3257.severity = warning
# S3261: Minor :: Namespaces should not be empty
dotnet_diagnostic.S3261.severity = error
# S3376: Minor :: Attribute, EventArgs, and Exception type names should end with the type being extended
dotnet_diagnostic.S3376.severity = warning
# S3400: Minor :: Methods should not return constants
dotnet_diagnostic.S3400.severity = warning
# S3440: Minor :: Variables should not be checked against the values they're about to be assigned
dotnet_diagnostic.S3440.severity = warning
# S3441: Minor :: Redundant property names should be omitted in anonymous classes
dotnet_diagnostic.S3441.severity = warning
# S3444: Minor :: Interfaces should not simply inherit from base interfaces with colliding members
dotnet_diagnostic.S3444.severity = warning
# S3450: Minor :: Parameters with "[DefaultParameterValue]" attributes should also be marked "[Optional]"
dotnet_diagnostic.S3450.severity = warning
# S3458: Minor :: Empty "case" clauses that fall through to the "default" should be omitted
dotnet_diagnostic.S3458.severity = silent
# S3459: Minor :: Unassigned members should be removed
dotnet_diagnostic.S3459.severity = warning
# S3532: Minor :: Empty "default" clauses should be removed
dotnet_diagnostic.S3532.severity = silent
# S3604: Minor :: Member initializer values should not be redundant
dotnet_diagnostic.S3604.severity = warning
# S3626: Minor :: Jump statements should not be redundant
dotnet_diagnostic.S3626.severity = warning
# S3717: Minor :: Track use of "NotImplementedException"
dotnet_diagnostic.S3717.severity = silent
# S3872: Minor :: Parameter names should not duplicate the names of their methods
dotnet_diagnostic.S3872.severity = warning
# S3876: Minor :: Strings or integral types should be used for indexers
dotnet_diagnostic.S3876.severity = warning
# S3897: Minor :: Classes that provide "Equals(<T>)" should implement "IEquatable<T>"
dotnet_diagnostic.S3897.severity = warning
# S3962: Minor :: "static readonly" constants should be "const" instead
dotnet_diagnostic.S3962.severity = silent
# S3963: Minor :: "static" fields should be initialized inline
dotnet_diagnostic.S3963.severity = warning
# S3967: Minor :: Multidimensional arrays should not be used
dotnet_diagnostic.S3967.severity = warning
# S4018: Minor :: Generic methods should provide type parameters
dotnet_diagnostic.S4018.severity = silent
# S4022: Minor :: Enumerations should have "Int32" storage
dotnet_diagnostic.S4022.severity = silent
# S4023: Minor :: Interfaces should not be empty
dotnet_diagnostic.S4023.severity = warning
# S4026: Minor :: Assemblies should be marked with "NeutralResourcesLanguageAttribute"
dotnet_diagnostic.S4026.severity = silent
# S4027: Minor :: Exceptions should provide standard constructors
dotnet_diagnostic.S4027.severity = warning
# S4040: Minor :: Strings should be normalized to uppercase
dotnet_diagnostic.S4040.severity = silent
# S4041: Minor :: Type names should not match namespaces
dotnet_diagnostic.S4041.severity = warning
# S4047: Minor :: Generics should be used when appropriate
dotnet_diagnostic.S4047.severity = warning
# S4049: Minor :: Properties should be preferred
dotnet_diagnostic.S4049.severity = warning
# S4052: Minor :: Types should not extend outdated base types
dotnet_diagnostic.S4052.severity = silent
# S4056: Minor :: Overloads with a "CultureInfo" or an "IFormatProvider" parameter should be used
dotnet_diagnostic.S4056.severity = silent
# S4058: Minor :: Overloads with a "StringComparison" parameter should be used
dotnet_diagnostic.S4058.severity = warning
# S4060: Minor :: Non-abstract attributes should be sealed
dotnet_diagnostic.S4060.severity = warning
# S4069: Minor :: Operator overloads should have named alternatives
dotnet_diagnostic.S4069.severity = warning
# S4136: Minor :: Method overloads should be grouped together
dotnet_diagnostic.S4136.severity = warning
# S4201: Minor :: Null checks should not be used with "is"
dotnet_diagnostic.S4201.severity = warning
# S4225: Minor :: Extension methods should not extend "object"
dotnet_diagnostic.S4225.severity = silent
# S4226: Minor :: Extensions should be in separate namespaces
dotnet_diagnostic.S4226.severity = warning
# S4261: Minor :: Methods should be named according to their synchronicities
dotnet_diagnostic.S4261.severity = warning
# S818: Minor :: Literal suffixes should be upper case
dotnet_diagnostic.S818.severity = warning
# BUG
# S1048: Blocker :: Destructors should not throw exceptions
dotnet_diagnostic.S1048.severity = error
# S2190: Blocker :: Recursion should not be infinite
dotnet_diagnostic.S2190.severity = error
# S2275: Blocker :: Composite format strings should not lead to unexpected behavior at runtime
dotnet_diagnostic.S2275.severity = error
# S2857: Blocker :: SQL keywords should be delimited by whitespace
dotnet_diagnostic.S2857.severity = error
# S2930: Blocker :: "IDisposables" should be disposed
dotnet_diagnostic.S2930.severity = error
# S2931: Blocker :: Classes with "IDisposable" members should implement "IDisposable"
dotnet_diagnostic.S2931.severity = error
# S3464: Blocker :: Type inheritance should not be recursive
dotnet_diagnostic.S3464.severity = error
# S3693: Blocker :: Exception constructors should not throw exceptions
dotnet_diagnostic.S3693.severity = error
# S3869: Blocker :: "SafeHandle.DangerousGetHandle" should not be called
dotnet_diagnostic.S3869.severity = error
# S3889: Blocker :: Neither "Thread.Resume" nor "Thread.Suspend" should be used
dotnet_diagnostic.S3889.severity = error
# S4159: Blocker :: Classes should implement their "ExportAttribute" interfaces
dotnet_diagnostic.S4159.severity = error
# S2551: Critical :: Shared resources should not be used for locking
dotnet_diagnostic.S2551.severity = error
# S2952: Critical :: Classes should "Dispose" of members from the classes' own "Dispose" methods
dotnet_diagnostic.S2952.severity = error
# S3449: Critical :: Right operands of shift operators should be integers
dotnet_diagnostic.S3449.severity = error
# S4275: Critical :: Getters and setters should access the expected fields
dotnet_diagnostic.S4275.severity = error