-
Notifications
You must be signed in to change notification settings - Fork 43
/
.editorconfig
555 lines (496 loc) · 22.5 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
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{bat,cmd}]
end_of_line = crlf
indent_size = 2
max_line_length = 120
[*.{cs,csx,vb,vbx}]
charset = utf-8-bom
max_line_length = 120
[*.{cs,vb}]
# .NET Code Style Rules
#
# Code Style Rules Reference:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/
#
# Code Style Rules Example .editorconfig:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
dotnet_sort_system_directives_first = true
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_qualification_for_method = false:warning
dotnet_style_qualification_for_event = false:warning
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:warning
dotnet_style_require_accessibility_modifiers = always:warning
dotnet_style_readonly_field = true:warning
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_null_propagation = true:warning
dotnet_style_coalesce_expression = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
dotnet_style_prefer_inferred_tuple_names = true:warning
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = true:warning
dotnet_style_prefer_conditional_expression_over_return = true:suggestion
dotnet_style_prefer_collection_expression = true:suggestion
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
dotnet_style_prefer_compound_assignment = true:suggestion
dotnet_style_prefer_simplified_interpolation = true:suggestion
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
[*.cs]
# C# Code Style Rules
#
# Code Style Rules Reference:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/
#
# Code Style Rules Options with an example .editorconfig:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = true:warning
csharp_style_expression_bodied_methods = true:warning
csharp_style_expression_bodied_constructors = true:warning
csharp_style_expression_bodied_operators = true:warning
csharp_style_expression_bodied_properties = true:warning
csharp_style_expression_bodied_indexers = true:warning
csharp_style_expression_bodied_accessors = true:warning
csharp_style_namespace_declarations = file_scoped:silent
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning
csharp_style_throw_expression = true:warning
csharp_style_conditional_delegate_call = true:warning
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:warning
csharp_prefer_braces = true:warning
csharp_style_deconstructed_variable_declaration = true:warning
csharp_prefer_simple_default_expression = true:warning
csharp_style_prefer_local_over_anonymous_function = true:warning
csharp_style_inlined_variable_declaration = true:warning
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
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
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_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true
# C# Code Quality Rules
#
# Code Quality Rules Reference:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/
#
# Code Quality Rules Options:
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-quality-rule-options
#
# Note: Most analyzers include example ruleset configuration files in the NuGet package. This is especially true of the
# Microsoft analyzer packages.
dotnet_code_quality.api_surface = all
dotnet_code_quality.required_modifiers = none
dotnet_code_quality.try_determine_additional_string_formatting_methods_automatically = true
dotnet_code_quality.dispose_analysis_kind = AllPaths
dotnet_code_quality.enum_values_prefix_trigger = AnyEnumValue
dotnet_code_quality.exclude_indirect_base_types = false
dotnet_code_quality.use_naming_heuristic = true
dotnet_diagnostic.IDE0058.severity = none
dotnet_diagnostic.IDE0161.severity = error
# TODO: Review default rule set configuration.
dotnet_diagnostic.CA1000.severity = warning
dotnet_diagnostic.CA1001.severity = warning
dotnet_diagnostic.CA1002.severity = warning
dotnet_diagnostic.CA1003.severity = warning
dotnet_diagnostic.CA1005.severity = warning
dotnet_diagnostic.CA1008.severity = warning
dotnet_diagnostic.CA1010.severity = warning
dotnet_diagnostic.CA1012.severity = warning
dotnet_diagnostic.CA1014.severity = warning
dotnet_diagnostic.CA1016.severity = warning
dotnet_diagnostic.CA1017.severity = warning
dotnet_diagnostic.CA1018.severity = warning
dotnet_diagnostic.CA1019.severity = warning
dotnet_diagnostic.CA1021.severity = warning
dotnet_diagnostic.CA1024.severity = warning
dotnet_diagnostic.CA1027.severity = warning
dotnet_diagnostic.CA1028.severity = warning
dotnet_diagnostic.CA1030.severity = warning
dotnet_diagnostic.CA1031.severity = warning
dotnet_diagnostic.CA1032.severity = warning
dotnet_diagnostic.CA1033.severity = warning
dotnet_diagnostic.CA1034.severity = warning
dotnet_diagnostic.CA1036.severity = warning
dotnet_diagnostic.CA1040.severity = silent
dotnet_diagnostic.CA1041.severity = warning
dotnet_diagnostic.CA1043.severity = warning
dotnet_diagnostic.CA1044.severity = warning
dotnet_diagnostic.CA1045.severity = warning
dotnet_diagnostic.CA1046.severity = warning
dotnet_diagnostic.CA1047.severity = warning
dotnet_diagnostic.CA1050.severity = warning
dotnet_diagnostic.CA1051.severity = warning
dotnet_diagnostic.CA1052.severity = warning
dotnet_diagnostic.CA1054.severity = warning
dotnet_diagnostic.CA1055.severity = warning
dotnet_diagnostic.CA1056.severity = warning
dotnet_diagnostic.CA1058.severity = warning
dotnet_diagnostic.CA1060.severity = warning
dotnet_diagnostic.CA1061.severity = warning
dotnet_diagnostic.CA1062.severity = none
dotnet_diagnostic.CA1063.severity = warning
dotnet_diagnostic.CA1064.severity = warning
dotnet_diagnostic.CA1065.severity = warning
dotnet_diagnostic.CA1066.severity = warning
dotnet_diagnostic.CA1067.severity = warning
dotnet_diagnostic.CA1068.severity = warning
dotnet_diagnostic.CA1069.severity = warning
dotnet_diagnostic.CA1070.severity = warning
dotnet_diagnostic.CA1200.severity = warning
# dotnet_diagnostic.CA1303.severity = none
# dotnet_diagnostic.CA1304.severity = silent
# dotnet_diagnostic.CA1305.severity = silent
# dotnet_diagnostic.CA1307.severity = none
# dotnet_diagnostic.CA1308.severity = none
# dotnet_diagnostic.CA1309.severity = silent
# dotnet_diagnostic.CA1310.severity = silent
dotnet_diagnostic.CA1401.severity = warning
dotnet_diagnostic.CA1416.severity = warning
dotnet_diagnostic.CA1417.severity = warning
dotnet_diagnostic.CA1418.severity = warning
dotnet_diagnostic.CA1419.severity = warning
dotnet_diagnostic.CA1501.severity = warning
dotnet_diagnostic.CA1502.severity = warning
dotnet_diagnostic.CA1505.severity = warning
dotnet_diagnostic.CA1506.severity = warning
dotnet_diagnostic.CA1507.severity = warning
dotnet_diagnostic.CA1508.severity = warning
dotnet_diagnostic.CA1509.severity = error
# dotnet_diagnostic.CA1700.severity = none
# dotnet_diagnostic.CA1707.severity = silent
# dotnet_diagnostic.CA1708.severity = silent
# dotnet_diagnostic.CA1710.severity = silent
# dotnet_diagnostic.CA1711.severity = silent
# dotnet_diagnostic.CA1712.severity = silent
# dotnet_diagnostic.CA1713.severity = none
# dotnet_diagnostic.CA1715.severity = silent
# dotnet_diagnostic.CA1716.severity = silent
# dotnet_diagnostic.CA1720.severity = silent
# dotnet_diagnostic.CA1721.severity = none
# dotnet_diagnostic.CA1724.severity = none
# dotnet_diagnostic.CA1725.severity = silent
# dotnet_diagnostic.CA1727.severity = silent
# dotnet_diagnostic.CA1802.severity = none
# dotnet_diagnostic.CA1805.severity = silent
# dotnet_diagnostic.CA1806.severity = suggestion
# dotnet_diagnostic.CA1810.severity = none
# dotnet_diagnostic.CA1812.severity = none
# dotnet_diagnostic.CA1813.severity = none
# dotnet_diagnostic.CA1814.severity = none
# dotnet_diagnostic.CA1815.severity = none
# dotnet_diagnostic.CA1816.severity = suggestion
# dotnet_diagnostic.CA1819.severity = none
# dotnet_diagnostic.CA1820.severity = none
# dotnet_diagnostic.CA1821.severity = suggestion
# dotnet_diagnostic.CA1822.severity = suggestion
# dotnet_diagnostic.CA1823.severity = none
# dotnet_diagnostic.CA1824.severity = suggestion
# dotnet_diagnostic.CA1825.severity = suggestion
# dotnet_diagnostic.CA1826.severity = suggestion
# dotnet_diagnostic.CA1827.severity = suggestion
# dotnet_diagnostic.CA1828.severity = suggestion
# dotnet_diagnostic.CA1829.severity = suggestion
# dotnet_diagnostic.CA1830.severity = suggestion
# dotnet_diagnostic.CA1831.severity = warning
# dotnet_diagnostic.CA1832.severity = suggestion
# dotnet_diagnostic.CA1833.severity = suggestion
# dotnet_diagnostic.CA1834.severity = suggestion
# dotnet_diagnostic.CA1835.severity = suggestion
# dotnet_diagnostic.CA1836.severity = suggestion
# dotnet_diagnostic.CA1837.severity = suggestion
# dotnet_diagnostic.CA1838.severity = silent
# dotnet_diagnostic.CA1839.severity = suggestion
# dotnet_diagnostic.CA1840.severity = suggestion
# dotnet_diagnostic.CA1841.severity = suggestion
# dotnet_diagnostic.CA1842.severity = suggestion
# dotnet_diagnostic.CA1843.severity = suggestion
# dotnet_diagnostic.CA1844.severity = suggestion
# dotnet_diagnostic.CA1845.severity = suggestion
# dotnet_diagnostic.CA1846.severity = suggestion
# dotnet_diagnostic.CA1847.severity = suggestion
# dotnet_diagnostic.CA1848.severity = silent
# dotnet_diagnostic.CA1849.severity = none
# dotnet_diagnostic.CA2000.severity = none
# dotnet_diagnostic.CA2002.severity = none
# dotnet_diagnostic.CA2007.severity = none
# dotnet_diagnostic.CA2008.severity = none
# dotnet_diagnostic.CA2009.severity = suggestion
# dotnet_diagnostic.CA2011.severity = suggestion
# dotnet_diagnostic.CA2012.severity = suggestion
# dotnet_diagnostic.CA2013.severity = warning
# dotnet_diagnostic.CA2014.severity = warning
# dotnet_diagnostic.CA2015.severity = warning
# dotnet_diagnostic.CA2016.severity = suggestion
# dotnet_diagnostic.CA2017.severity = warning
# dotnet_diagnostic.CA2018.severity = warning
# dotnet_diagnostic.CA2100.severity = none
# dotnet_diagnostic.CA2101.severity = suggestion
# dotnet_diagnostic.CA2109.severity = none
# dotnet_diagnostic.CA2119.severity = none
# dotnet_diagnostic.CA2153.severity = none
# dotnet_diagnostic.CA2200.severity = warning
# dotnet_diagnostic.CA2201.severity = silent
# dotnet_diagnostic.CA2207.severity = none
# dotnet_diagnostic.CA2208.severity = suggestion
# dotnet_diagnostic.CA2211.severity = suggestion
# dotnet_diagnostic.CA2213.severity = none
# dotnet_diagnostic.CA2214.severity = none
# dotnet_diagnostic.CA2215.severity = silent
# dotnet_diagnostic.CA2216.severity = none
# dotnet_diagnostic.CA2217.severity = none
# dotnet_diagnostic.CA2218.severity = suggestion
# dotnet_diagnostic.CA2219.severity = suggestion
# dotnet_diagnostic.CA2224.severity = suggestion
# dotnet_diagnostic.CA2225.severity = none
# dotnet_diagnostic.CA2226.severity = none
# dotnet_diagnostic.CA2227.severity = none
# dotnet_diagnostic.CA2229.severity = silent
# dotnet_diagnostic.CA2231.severity = suggestion
# dotnet_diagnostic.CA2234.severity = none
# dotnet_diagnostic.CA2235.severity = none
# dotnet_diagnostic.CA2237.severity = none
# dotnet_diagnostic.CA2241.severity = suggestion
# dotnet_diagnostic.CA2242.severity = suggestion
# dotnet_diagnostic.CA2243.severity = none
# dotnet_diagnostic.CA2244.severity = suggestion
# dotnet_diagnostic.CA2245.severity = suggestion
# dotnet_diagnostic.CA2246.severity = suggestion
# dotnet_diagnostic.CA2247.severity = warning
# dotnet_diagnostic.CA2248.severity = suggestion
# dotnet_diagnostic.CA2249.severity = suggestion
# dotnet_diagnostic.CA2250.severity = suggestion
# dotnet_diagnostic.CA2251.severity = silent
# dotnet_diagnostic.CA2252.severity = error
# dotnet_diagnostic.CA2253.severity = suggestion
# dotnet_diagnostic.CA2254.severity = suggestion
# dotnet_diagnostic.CA2255.severity = warning
# dotnet_diagnostic.CA2256.severity = warning
# dotnet_diagnostic.CA2257.severity = warning
# dotnet_diagnostic.CA2258.severity = warning
# dotnet_diagnostic.CA2300.severity = none
# dotnet_diagnostic.CA2301.severity = none
# dotnet_diagnostic.CA2302.severity = none
# dotnet_diagnostic.CA2305.severity = none
# dotnet_diagnostic.CA2310.severity = none
# dotnet_diagnostic.CA2311.severity = none
# dotnet_diagnostic.CA2312.severity = none
# dotnet_diagnostic.CA2315.severity = none
# dotnet_diagnostic.CA2321.severity = none
# dotnet_diagnostic.CA2322.severity = none
# dotnet_diagnostic.CA2326.severity = none
# dotnet_diagnostic.CA2327.severity = none
# dotnet_diagnostic.CA2328.severity = none
# dotnet_diagnostic.CA2329.severity = none
# dotnet_diagnostic.CA2330.severity = none
# dotnet_diagnostic.CA2350.severity = none
# dotnet_diagnostic.CA2351.severity = none
# dotnet_diagnostic.CA2352.severity = none
# dotnet_diagnostic.CA2353.severity = none
# dotnet_diagnostic.CA2354.severity = none
# dotnet_diagnostic.CA2355.severity = none
# dotnet_diagnostic.CA2356.severity = none
# dotnet_diagnostic.CA2361.severity = none
# dotnet_diagnostic.CA2362.severity = none
# dotnet_diagnostic.CA3001.severity = none
# dotnet_diagnostic.CA3002.severity = none
# dotnet_diagnostic.CA3003.severity = none
# dotnet_diagnostic.CA3004.severity = none
# dotnet_diagnostic.CA3005.severity = none
# dotnet_diagnostic.CA3006.severity = none
# dotnet_diagnostic.CA3007.severity = none
# dotnet_diagnostic.CA3008.severity = none
# dotnet_diagnostic.CA3009.severity = none
# dotnet_diagnostic.CA3010.severity = none
# dotnet_diagnostic.CA3011.severity = none
# dotnet_diagnostic.CA3012.severity = none
# dotnet_diagnostic.CA3061.severity = silent
# dotnet_diagnostic.CA3075.severity = silent
# dotnet_diagnostic.CA3076.severity = silent
# dotnet_diagnostic.CA3077.severity = silent
# dotnet_diagnostic.CA3147.severity = silent
# dotnet_diagnostic.CA5350.severity = silent
# dotnet_diagnostic.CA5351.severity = silent
# dotnet_diagnostic.CA5358.severity = none
# dotnet_diagnostic.CA5359.severity = silent
# dotnet_diagnostic.CA5360.severity = silent
# dotnet_diagnostic.CA5361.severity = none
# dotnet_diagnostic.CA5362.severity = none
# dotnet_diagnostic.CA5363.severity = silent
# dotnet_diagnostic.CA5364.severity = silent
# dotnet_diagnostic.CA5365.severity = silent
# dotnet_diagnostic.CA5366.severity = silent
# dotnet_diagnostic.CA5367.severity = none
# dotnet_diagnostic.CA5368.severity = silent
# dotnet_diagnostic.CA5369.severity = silent
# dotnet_diagnostic.CA5370.severity = silent
# dotnet_diagnostic.CA5371.severity = silent
# dotnet_diagnostic.CA5372.severity = silent
# dotnet_diagnostic.CA5373.severity = silent
# dotnet_diagnostic.CA5374.severity = silent
# dotnet_diagnostic.CA5375.severity = none
# dotnet_diagnostic.CA5376.severity = none
# dotnet_diagnostic.CA5377.severity = none
# dotnet_diagnostic.CA5378.severity = none
# dotnet_diagnostic.CA5379.severity = silent
# dotnet_diagnostic.CA5380.severity = none
# dotnet_diagnostic.CA5381.severity = none
# dotnet_diagnostic.CA5382.severity = none
# dotnet_diagnostic.CA5383.severity = none
# dotnet_diagnostic.CA5384.severity = silent
# dotnet_diagnostic.CA5385.severity = silent
# dotnet_diagnostic.CA5386.severity = none
# dotnet_diagnostic.CA5387.severity = none
# dotnet_diagnostic.CA5388.severity = none
# dotnet_diagnostic.CA5389.severity = none
# dotnet_diagnostic.CA5390.severity = none
# dotnet_diagnostic.CA5391.severity = none
# dotnet_diagnostic.CA5392.severity = none
# dotnet_diagnostic.CA5393.severity = none
# dotnet_diagnostic.CA5394.severity = none
# dotnet_diagnostic.CA5395.severity = none
# dotnet_diagnostic.CA5396.severity = none
# dotnet_diagnostic.CA5397.severity = silent
# dotnet_diagnostic.CA5398.severity = none
# dotnet_diagnostic.CA5399.severity = none
# dotnet_diagnostic.CA5400.severity = none
# dotnet_diagnostic.CA5401.severity = none
# dotnet_diagnostic.CA5402.severity = none
# dotnet_diagnostic.CA5403.severity = none
# dotnet_diagnostic.CA5404.severity = none
# dotnet_diagnostic.CA5405.severity = none
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.SA1101.severity = none
dotnet_diagnostic.SA1309.severity = none
dotnet_diagnostic.SA1412.severity = warning
# TODO: Require documentation on public elements.
dotnet_diagnostic.SA1600.severity = suggestion
dotnet_diagnostic.SA1633.severity = none
dotnet_diagnostic.SX1101.severity = warning
dotnet_diagnostic.SX1309.severity = warning
dotnet_diagnostic.SX1309S.severity = warning
# Microsoft.CodeAnalysis.PublicApiAnalyzers
#
# Docs:
# https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md
dotnet_public_api_analyzer.require_api_files = true
[*.{csproj,dcproj,props,shproj,targets,vbproj}]
charset = utf-8-bom
indent_size = 2
[*.json]
indent_size = 2
max_line_length = 120
[*.md]
indent_size = 2
[*.{ps1,psd1}]
end_of_line = lf
max_line_length = 120
[*.sh]
end_of_line = lf
indent_size = 2
max_line_length = 120
[*.sln]
charset = utf-8-bom
indent_style = tab
[*.{yml,yaml}]
indent_size = 2
max_line_length = 120
[nuget.config]
indent_size = 2
[*.cs]
#### Naming styles ####
# Naming rules
dotnet_naming_rule.private_or_internal_field_should_be_begins_with_underscore.severity = suggestion
dotnet_naming_rule.private_or_internal_field_should_be_begins_with_underscore.symbols = private_or_internal_field
dotnet_naming_rule.private_or_internal_field_should_be_begins_with_underscore.style = begins_with_underscore
# Symbol specifications
dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
dotnet_naming_symbols.private_or_internal_field.required_modifiers =
# Naming styles
dotnet_naming_style.begins_with_underscore.required_prefix = _
dotnet_naming_style.begins_with_underscore.required_suffix =
dotnet_naming_style.begins_with_underscore.word_separator =
dotnet_naming_style.begins_with_underscore.capitalization = camel_case
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_style_prefer_method_group_conversion = true:silent
csharp_style_prefer_primary_constructors = true:suggestion
csharp_style_prefer_top_level_statements = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
dotnet_diagnostic.SA1127.severity = silent
dotnet_diagnostic.SA1202.severity = silent
[*.{cs,vb}]
#### Naming styles ####
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
end_of_line = crlf
dotnet_diagnostic.CA1002.severity = silent
dotnet_diagnostic.CA1030.severity = silent
# Default severity for all analyzer diagnostics
dotnet_analyzer_diagnostic.severity = silent