-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
532 lines (432 loc) · 21.8 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
root = true
[*]
charset = utf-8-bom
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = false
indent_style = space
indent_size = 4
# Microsoft .NET properties
csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:warning
csharp_prefer_braces = true:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_var_elsewhere = false:none
csharp_style_var_for_built_in_types = false:suggestion
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
dotnet_naming_rule.unity_serialized_field_rule.severity = warning
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
dotnet_separate_import_directive_groups = true
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
dotnet_style_predefined_type_for_locals_parameters_members = true: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:warning
# ReSharper properties
resharper_align_linq_query = true
resharper_align_multiline_argument = true
resharper_align_multiline_binary_patterns = true
resharper_align_multiline_calls_chain = true
resharper_align_multiline_expression = true
resharper_align_multiline_extends_list = true
resharper_align_multiline_for_stmt = true
resharper_align_multiline_parameter = true
resharper_align_multiple_declaration = true
resharper_align_multline_type_parameter_constrains = true
resharper_align_multline_type_parameter_list = true
resharper_align_tuple_components = true
resharper_autodetect_indent_settings = true
resharper_blank_lines_around_single_line_auto_property = 1
resharper_blank_lines_around_single_line_property = 1
resharper_blank_lines_before_block_statements = 1
resharper_blank_lines_before_control_transfer_statements = 1
resharper_blank_lines_before_single_line_comment = 1
resharper_braces_redundant = true
resharper_cpp_max_line_length = 180
resharper_csharp_blank_lines_around_single_line_invocable = 1
resharper_csharp_int_align_comments = true
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_csharp_max_line_length = 170
resharper_csharp_outdent_commas = true
resharper_csharp_stick_comment = false
resharper_csharp_wrap_multiple_type_parameter_constraints_style = chop_always
resharper_force_attribute_style = join
resharper_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
resharper_formatter_tags_enabled = true
resharper_for_built_in_types = use_var_when_evident
resharper_fsharp_max_line_length = 180
resharper_html_max_line_length = 180
resharper_indent_nested_fixed_stmt = true
resharper_indent_nested_foreach_stmt = true
resharper_indent_nested_for_stmt = true
resharper_indent_nested_lock_stmt = true
resharper_indent_nested_usings_stmt = true
resharper_indent_nested_while_stmt = true
resharper_keep_existing_declaration_parens_arrangement = false
resharper_keep_existing_expr_member_arrangement = false
resharper_keep_existing_initializer_arrangement = false
resharper_keep_existing_linebreaks = true
resharper_keep_existing_switch_expression_arrangement = false
resharper_keep_user_linebreaks = true
resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_simple_accessor_on_single_line = false
resharper_place_simple_anonymousmethod_on_single_line = false
resharper_place_simple_embedded_statement_on_same_line = false
resharper_place_simple_property_pattern_on_single_line = false
resharper_resx_max_line_length = 180
resharper_shaderlab_max_line_length = 180
resharper_t4_max_line_length = 180
resharper_use_indent_from_vs = false
resharper_vb_max_line_length = 180
resharper_wrap_chained_binary_expressions = chop_if_long
resharper_wrap_chained_method_calls = chop_if_long
resharper_wrap_list_pattern = chop_if_long
resharper_xmldoc_max_line_length = 180
resharper_xml_max_line_length = 180
# ReSharper inspection severities
resharper_arrange_attributes_highlighting = hint
resharper_arrange_redundant_parentheses_highlighting = hint
resharper_arrange_this_qualifier_highlighting = hint
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
resharper_built_in_type_reference_style_highlighting = hint
resharper_razor_assembly_not_resolved_highlighting = warning
resharper_redundant_base_qualifier_highlighting = warning
resharper_remove_redundant_braces_highlighting = hint
resharper_suggest_var_or_type_elsewhere_highlighting = suggestion
resharper_suggest_var_or_type_simple_types_highlighting = suggestion
resharper_web_config_module_not_resolved_highlighting = warning
resharper_web_config_type_not_resolved_highlighting = warning
resharper_web_config_wrong_module_highlighting = warning
[*.{xml,config,*proj,nuspec,props,resx,targets,yml,tasks}]
indent_size = 2
# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
[*.json]
indent_size = 2
[*.{ps1,psm1}]
indent_size = 4
[*.sh]
indent_size = 4
end_of_line = lf
[*.{razor,cshtml}]
charset = utf-8-bom
[*.{cs,vb}]
# SYSLIB1054: Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time
dotnet_diagnostic.syslib1054.severity = warning
# CA1018: Mark attributes with AttributeUsageAttribute
dotnet_diagnostic.ca1018.severity = warning
# CA1047: Do not declare protected member in sealed type
dotnet_diagnostic.ca1047.severity = warning
# CA1305: Specify IFormatProvider
dotnet_diagnostic.ca1305.severity = warning
# CA1507: Use nameof to express symbol names
dotnet_diagnostic.ca1507.severity = warning
# CA1510: Use ArgumentNullException throw helper
dotnet_diagnostic.ca1510.severity = warning
# CA1511: Use ArgumentException throw helper
dotnet_diagnostic.ca1511.severity = warning
# CA1512: Use ArgumentOutOfRangeException throw helper
dotnet_diagnostic.ca1512.severity = warning
# CA1513: Use ObjectDisposedException throw helper
dotnet_diagnostic.ca1513.severity = warning
# CA1725: Parameter names should match base declaration
dotnet_diagnostic.ca1725.severity = suggestion
# CA1802: Use literals where appropriate
dotnet_diagnostic.ca1802.severity = warning
# CA1805: Do not initialize unnecessarily
dotnet_diagnostic.ca1805.severity = warning
# CA1810: Do not initialize unnecessarily
dotnet_diagnostic.ca1810.severity = warning
# CA1821: Remove empty Finalizers
dotnet_diagnostic.ca1821.severity = warning
# CA1822: Make member static
dotnet_diagnostic.ca1822.severity = warning
dotnet_code_quality.ca1822.api_surface = private, internal
# CA1823: Avoid unused private fields
dotnet_diagnostic.ca1823.severity = warning
# CA1825: Avoid zero-length array allocations
dotnet_diagnostic.ca1825.severity = warning
# CA1826: Do not use Enumerable methods on indexable collections. Instead use the collection directly
dotnet_diagnostic.ca1826.severity = warning
# CA1827: Do not use Count() or LongCount() when Any() can be used
dotnet_diagnostic.ca1827.severity = warning
# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used
dotnet_diagnostic.ca1828.severity = warning
# CA1829: Use Length/Count property instead of Count() when available
dotnet_diagnostic.ca1829.severity = warning
# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder
dotnet_diagnostic.ca1830.severity = warning
# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1831.severity = warning
# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1832.severity = warning
# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1833.severity = warning
# CA1834: Consider using 'StringBuilder.Append(char)' when applicable
dotnet_diagnostic.ca1834.severity = warning
# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'
dotnet_diagnostic.ca1835.severity = warning
# CA1836: Prefer IsEmpty over Count
dotnet_diagnostic.ca1836.severity = warning
# CA1837: Use 'Environment.ProcessId'
dotnet_diagnostic.ca1837.severity = warning
# CA1838: Avoid 'StringBuilder' parameters for P/Invokes
dotnet_diagnostic.ca1838.severity = warning
# CA1839: Use 'Environment.ProcessPath'
dotnet_diagnostic.ca1839.severity = warning
# CA1840: Use 'Environment.CurrentManagedThreadId'
dotnet_diagnostic.ca1840.severity = warning
# CA1841: Prefer Dictionary.Contains methods
dotnet_diagnostic.ca1841.severity = warning
# CA1842: Do not use 'WhenAll' with a single task
dotnet_diagnostic.ca1842.severity = warning
# CA1843: Do not use 'WaitAll' with a single task
dotnet_diagnostic.ca1843.severity = warning
# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream'
dotnet_diagnostic.ca1844.severity = warning
# CA1845: Use span-based 'string.Concat'
dotnet_diagnostic.ca1845.severity = warning
# CA1846: Prefer AsSpan over Substring
dotnet_diagnostic.ca1846.severity = warning
# CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
dotnet_diagnostic.ca1847.severity = warning
# CA1852: Seal internal types
dotnet_diagnostic.ca1852.severity = warning
# CA1854: Prefer the IDictionary.TryGetValue(TKey, out TValue) method
dotnet_diagnostic.ca1854.severity = warning
# CA1855: Prefer 'Clear' over 'Fill'
dotnet_diagnostic.ca1855.severity = warning
# CA1856: Incorrect usage of ConstantExpected attribute
dotnet_diagnostic.ca1856.severity = error
# CA1857: A constant is expected for the parameter
dotnet_diagnostic.ca1857.severity = warning
# CA1858: Use 'StartsWith' instead of 'IndexOf'
dotnet_diagnostic.ca1858.severity = warning
# CA2008: Do not create tasks without passing a TaskScheduler
dotnet_diagnostic.ca2008.severity = warning
# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value
dotnet_diagnostic.ca2009.severity = warning
# CA2011: Avoid infinite recursion
dotnet_diagnostic.ca2011.severity = warning
# CA2012: Use ValueTask correctly
dotnet_diagnostic.ca2012.severity = warning
# CA2013: Do not use ReferenceEquals with value types
dotnet_diagnostic.ca2013.severity = warning
# CA2014: Do not use stackalloc in loops.
dotnet_diagnostic.ca2014.severity = warning
# CA2016: Forward the 'CancellationToken' parameter to methods that take one
dotnet_diagnostic.ca2016.severity = warning
# CA2200: Rethrow to preserve stack details
dotnet_diagnostic.ca2200.severity = warning
# CA2201: Do not raise reserved exception types
dotnet_diagnostic.ca2201.severity = warning
# CA2208: Instantiate argument exceptions correctly
dotnet_diagnostic.ca2208.severity = warning
# CA2245: Do not assign a property to itself
dotnet_diagnostic.ca2245.severity = warning
# CA2246: Assigning symbol and its member in the same statement
dotnet_diagnostic.ca2246.severity = warning
# CA2249: Use string.Contains instead of string.IndexOf to improve readability.
dotnet_diagnostic.ca2249.severity = warning
# IDE0005: Remove unnecessary usings
dotnet_diagnostic.ide0005.severity = warning
# IDE0011: Curly braces to surround blocks of code
dotnet_diagnostic.ide0011.severity = warning
# IDE0020: Use pattern matching to avoid is check followed by a cast (with variable)
dotnet_diagnostic.ide0020.severity = warning
# IDE0029: Use coalesce expression (non-nullable types)
dotnet_diagnostic.ide0029.severity = warning
# IDE0030: Use coalesce expression (nullable types)
dotnet_diagnostic.ide0030.severity = warning
# IDE0031: Use null propagation
dotnet_diagnostic.ide0031.severity = warning
# IDE0035: Remove unreachable code
dotnet_diagnostic.ide0035.severity = warning
# IDE0036: Order modifiers
csharp_preferred_modifier_order = public,private,protected,internal,file,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
dotnet_diagnostic.ide0036.severity = warning
# IDE0038: Use pattern matching to avoid is check followed by a cast (without variable)
dotnet_diagnostic.ide0038.severity = warning
# IDE0043: Format string contains invalid placeholder
dotnet_diagnostic.ide0043.severity = warning
# IDE0044: Make field readonly
dotnet_diagnostic.ide0044.severity = warning
# IDE0051: Remove unused private members
dotnet_diagnostic.ide0051.severity = warning
# IDE0055: All formatting rules
dotnet_diagnostic.ide0055.severity = suggestion
# IDE0059: Unnecessary assignment to a value
dotnet_diagnostic.ide0059.severity = warning
# IDE0060: Remove unused parameter
dotnet_code_quality_unused_parameters = non_public
dotnet_diagnostic.ide0060.severity = warning
# IDE0062: Make local function static
dotnet_diagnostic.ide0062.severity = warning
# IDE0073: File header
dotnet_diagnostic.ide0073.severity = warning
# file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.
# IDE1006: Required naming style
dotnet_diagnostic.ide1006.severity = warning
# IDE0161: Convert to file-scoped namespace
dotnet_diagnostic.ide0161.severity = warning
# IDE0200: Lambda expression can be removed
dotnet_diagnostic.ide0200.severity = warning
# IDE2000: Disallow multiple blank lines
dotnet_style_allow_multiple_blank_lines_experimental = false
dotnet_diagnostic.ide2000.severity = warning
[{eng/tools/**.cs,**/{test,testassets,samples,Samples,perf,benchmarkapps,scripts,stress}/**.cs,src/Hosting/Server.IntegrationTesting/**.cs,src/Servers/IIS/IntegrationTesting.IIS/**.cs,src/Shared/Http2cat/**.cs,src/Testing/**.cs}]
# CA1018: Mark attributes with AttributeUsageAttribute
dotnet_diagnostic.ca1018.severity = suggestion
# CA1507: Use nameof to express symbol names
dotnet_diagnostic.ca1507.severity = suggestion
# CA1510: Use ArgumentNullException throw helper
dotnet_diagnostic.ca1510.severity = suggestion
# CA1511: Use ArgumentException throw helper
dotnet_diagnostic.ca1511.severity = suggestion
# CA1512: Use ArgumentOutOfRangeException throw helper
dotnet_diagnostic.ca1512.severity = suggestion
# CA1513: Use ObjectDisposedException throw helper
dotnet_diagnostic.ca1513.severity = suggestion
# CA1802: Use literals where appropriate
dotnet_diagnostic.ca1802.severity = suggestion
# CA1805: Do not initialize unnecessarily
dotnet_diagnostic.ca1805.severity = suggestion
# CA1810: Do not initialize unnecessarily
dotnet_diagnostic.ca1810.severity = suggestion
# CA1822: Make member static
dotnet_diagnostic.ca1822.severity = suggestion
# CA1823: Avoid zero-length array allocations
dotnet_diagnostic.ca1825.severity = suggestion
# CA1826: Do not use Enumerable methods on indexable collections. Instead use the collection directly
dotnet_diagnostic.ca1826.severity = suggestion
# CA1827: Do not use Count() or LongCount() when Any() can be used
dotnet_diagnostic.ca1827.severity = suggestion
# CA1829: Use Length/Count property instead of Count() when available
dotnet_diagnostic.ca1829.severity = suggestion
# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1831.severity = suggestion
# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1832.severity = suggestion
# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1833.severity = suggestion
# CA1834: Consider using 'StringBuilder.Append(char)' when applicable
dotnet_diagnostic.ca1834.severity = suggestion
# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'
dotnet_diagnostic.ca1835.severity = suggestion
# CA1837: Use 'Environment.ProcessId'
dotnet_diagnostic.ca1837.severity = suggestion
# CA1838: Avoid 'StringBuilder' parameters for P/Invokes
dotnet_diagnostic.ca1838.severity = suggestion
# CA1841: Prefer Dictionary.Contains methods
dotnet_diagnostic.ca1841.severity = suggestion
# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream'
dotnet_diagnostic.ca1844.severity = suggestion
# CA1845: Use span-based 'string.Concat'
dotnet_diagnostic.ca1845.severity = suggestion
# CA1846: Prefer AsSpan over Substring
dotnet_diagnostic.ca1846.severity = suggestion
# CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters
dotnet_diagnostic.ca1847.severity = suggestion
# CA1852: Seal internal types
dotnet_diagnostic.ca1852.severity = suggestion
# CA1854: Prefer the IDictionary.TryGetValue(TKey, out TValue) method
dotnet_diagnostic.ca1854.severity = suggestion
# CA1855: Prefer 'Clear' over 'Fill'
dotnet_diagnostic.ca1855.severity = suggestion
# CA1856: Incorrect usage of ConstantExpected attribute
dotnet_diagnostic.ca1856.severity = suggestion
# CA1857: A constant is expected for the parameter
dotnet_diagnostic.ca1857.severity = suggestion
# CA1858: Use 'StartsWith' instead of 'IndexOf'
dotnet_diagnostic.ca1858.severity = suggestion
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.ca2007.severity = suggestion
# CA2008: Do not create tasks without passing a TaskScheduler
dotnet_diagnostic.ca2008.severity = suggestion
# CA2012: Use ValueTask correctly
dotnet_diagnostic.ca2012.severity = suggestion
# CA2201: Do not raise reserved exception types
dotnet_diagnostic.ca2201.severity = suggestion
# CA2249: Use string.Contains instead of string.IndexOf to improve readability.
dotnet_diagnostic.ca2249.severity = suggestion
# IDE0005: Remove unnecessary usings
dotnet_diagnostic.ide0005.severity = suggestion
# IDE0020: Use pattern matching to avoid is check followed by a cast (with variable)
dotnet_diagnostic.ide0020.severity = suggestion
# IDE0029: Use coalesce expression (non-nullable types)
dotnet_diagnostic.ide0029.severity = suggestion
# IDE0030: Use coalesce expression (nullable types)
dotnet_diagnostic.ide0030.severity = suggestion
# IDE0031: Use null propagation
dotnet_diagnostic.ide0031.severity = suggestion
# IDE0038: Use pattern matching to avoid is check followed by a cast (without variable)
dotnet_diagnostic.ide0038.severity = suggestion
# IDE0044: Make field readonly
dotnet_diagnostic.ide0044.severity = suggestion
# IDE0051: Remove unused private members
dotnet_diagnostic.ide0051.severity = suggestion
# IDE0059: Unnecessary assignment to a value
dotnet_diagnostic.ide0059.severity = suggestion
# IDE0060: Remove unused parameters
dotnet_diagnostic.ide0060.severity = suggestion
# IDE0062: Make local function static
dotnet_diagnostic.ide0062.severity = suggestion
# IDE0200: Lambda expression can be removed
dotnet_diagnostic.ide0200.severity = suggestion
# CA2016: Forward the 'CancellationToken' parameter to methods that take one
dotnet_diagnostic.ca2016.severity = suggestion
# MA0047: Declare types in namespaces
dotnet_diagnostic.ma0047.severity = suggestion
# MA0004: Use 'ConfigureAwait(false)' on awaited task
dotnet_diagnostic.ma0004.severity = suggestion
# S3903: Types should be defined in named namespaces
dotnet_diagnostic.s3903.severity = suggestion
# SCS0005: Weak random generator
dotnet_diagnostic.scs0005.severity = suggestion
# Defaults for content in the shared src/ and shared runtime dir
[{**/Shared/runtime/**.{cs,vb},src/Shared/test/Shared.Tests/runtime/**.{cs,vb},**/microsoft.extensions.hostfactoryresolver.sources/**.{cs,vb}}]
# CA1822: Make member static
dotnet_diagnostic.ca1822.severity = silent
# IDE0011: Use braces
dotnet_diagnostic.ide0011.severity = silent
# IDE0055: Fix formatting
dotnet_diagnostic.ide0055.severity = silent
# IDE0060: Remove unused parameters
dotnet_diagnostic.ide0060.severity = silent
# IDE0062: Make local function static
dotnet_diagnostic.ide0062.severity = silent
# IDE0161: Convert to file-scoped namespace
dotnet_diagnostic.ide0161.severity = silent
[{**/Shared/**.cs,**/microsoft.extensions.hostfactoryresolver.sources/**.{cs,vb}}]
# IDE0005: Remove unused usings. Ignore for shared src files since imports for those depend on the projects in which they are included.
dotnet_diagnostic.ide0005.severity = silent
[{*.razor.cs,src/Aspire.Dashboard/Components/**.cs}]
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.ca2007.severity = silent
[{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
indent_style = space
indent_size = 2
[{*.http,*.rest}]
indent_style = space
indent_size = 0
[*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd}]
indent_style = space
indent_size = 4
tab_width = 4
[{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,.ws-context,bowerrc,jest.config}]
indent_style = space
indent_size = 2