-
Notifications
You must be signed in to change notification settings - Fork 233
/
Copy path.editorconfig
508 lines (339 loc) · 17 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
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
[*.cs]
# CA1032: Implement standard exception constructors
dotnet_diagnostic.CA1032.severity = silent
# CA2008: Do not create tasks without passing a TaskScheduler
dotnet_diagnostic.CA2008.severity = silent
# CA1001: Types that own disposable fields should be disposable
dotnet_diagnostic.CA1001.severity = silent
# CA1028: Enum Storage should be Int32
dotnet_diagnostic.CA1028.severity = silent
# CA1030: Use events where appropriate
dotnet_diagnostic.CA1030.severity = silent
# CA1031: Do not catch general exception types
dotnet_diagnostic.CA1031.severity = silent
# CA1034: Nested types should not be visible
dotnet_diagnostic.CA1034.severity = silent
# CA1051: Do not declare visible instance fields
dotnet_diagnostic.CA1051.severity = suggestion
# CA1054: Uri parameters should not be strings
dotnet_diagnostic.CA1054.severity = silent
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = suggestion
# CA1063: Implement IDisposable Correctly
dotnet_diagnostic.CA1063.severity = suggestion
# CA1064: Exceptions should be public
dotnet_diagnostic.CA1064.severity = silent
# CA1065: Do not raise exceptions in unexpected locations
dotnet_diagnostic.CA1065.severity = silent
# CA1000: Do not declare static members on generic types
dotnet_diagnostic.CA1000.severity = suggestion
# CA1010: Generic interface should also be implemented
dotnet_diagnostic.CA1010.severity = suggestion
# CA1036: Override methods on comparable types
dotnet_diagnostic.CA1036.severity = silent
# CA1040: Avoid empty interfaces
dotnet_diagnostic.CA1040.severity = silent
# CA1200: Avoid using cref tags with a prefix
dotnet_diagnostic.CA1200.severity = suggestion
# CA1307: Specify StringComparison
dotnet_diagnostic.CA1307.severity = silent
# CA1069: Enums values should not be duplicated
dotnet_diagnostic.CA1069.severity = suggestion
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = silent
# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = suggestion
# CA1801: Review unused parameters
dotnet_diagnostic.CA1801.severity = suggestion
# CA1819: Properties should not return arrays
dotnet_diagnostic.CA1819.severity = silent
# CA1822: Mark members as static
dotnet_diagnostic.CA1822.severity = suggestion
# CA1825: Avoid zero-length array allocations.
dotnet_diagnostic.CA1825.severity = suggestion
# CA1720: Identifier contains type name
dotnet_diagnostic.CA1720.severity = silent
# CA5397: Do not use deprecated SslProtocols values
dotnet_diagnostic.CA5397.severity = silent
# CA2227: Collection properties should be read only
dotnet_diagnostic.CA2227.severity = silent
# CA1507: Use nameof to express symbol names
dotnet_diagnostic.CA1507.severity = suggestion
# CA2119: Seal methods that satisfy private interfaces
dotnet_diagnostic.CA2119.severity = suggestion
# CA2208: Instantiate argument exceptions correctly
dotnet_diagnostic.CA2208.severity = suggestion
# CA1802: Use literals where appropriate
dotnet_diagnostic.CA1802.severity = suggestion
# CA2237: Mark ISerializable types with serializable
dotnet_diagnostic.CA2237.severity = suggestion
# CA2211: Non-constant fields should not be visible
dotnet_diagnostic.CA2211.severity = suggestion
# CA5364: Do Not Use Deprecated Security Protocols
dotnet_diagnostic.CA5364.severity = silent
# CA1724: The type name Configuration conflicts in whole or in part with the namespace name 'System.Configuration' defined in the .NET Framework. Rename the type to eliminate the conflict.
dotnet_diagnostic.CA1724.severity = suggestion
# CA2225: Operator overloads have named alternates
dotnet_diagnostic.CA2225.severity = silent
# CA1816: Dispose methods should call SuppressFinalize
dotnet_diagnostic.CA1816.severity = suggestion
# CA2000: Dispose objects before losing scope
dotnet_diagnostic.CA2000.severity = silent
# CA1823: Avoid unused private fields
dotnet_diagnostic.CA1823.severity = suggestion
# CA1827: Do not use Count() or LongCount() when Any() can be used
dotnet_diagnostic.CA1827.severity = suggestion
# CA2234: Pass system uri objects instead of strings
dotnet_diagnostic.CA2234.severity = silent
# CA2229: Implement serialization constructors
dotnet_diagnostic.CA2229.severity = suggestion
# CA1304: Specify CultureInfo
dotnet_diagnostic.CA1304.severity = suggestion
# CA1716: Identifiers should not match keywords
dotnet_diagnostic.CA1716.severity = suggestion
# CA1308: Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = silent
# CA1714: Flags enums should have plural names
dotnet_diagnostic.CA1714.severity = suggestion
# CA2213: Disposable fields should be disposed
dotnet_diagnostic.CA2213.severity = silent
# CA1806: Do not ignore method results
dotnet_diagnostic.CA1806.severity = silent
# CA1810: Initialize reference type static fields inline
dotnet_diagnostic.CA1810.severity = silent
# CA1060: Move pinvokes to native methods class
dotnet_diagnostic.CA1060.severity = suggestion
# CA1033: Interface methods should be callable by child types
dotnet_diagnostic.CA1033.severity = suggestion
# CA1707: Remove the underscores from member name Cassandra.Tests.Connections.Control.HostnameContactPointTests.Should_DnsResolveAgain_When_RefreshCacheIsTrue().
dotnet_diagnostic.CA1707.severity = silent
# CA2100: Review SQL queries for security vulnerabilities
dotnet_diagnostic.CA2100.severity = silent
# CA5359: Do Not Disable Certificate Validation
dotnet_diagnostic.CA5359.severity = silent
# CA1812: BuilderSimulacronTests is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it static (Shared in Visual Basic).
dotnet_diagnostic.CA1812.severity = silent
# SA1101: Prefix local calls with this
dotnet_diagnostic.SA1101.severity = silent
# SA1629: Documentation text should end with a period
dotnet_diagnostic.SA1629.severity = silent
# SX1101: DoNotPrefixLocalMembersWithThis
dotnet_diagnostic.SX1101.severity = suggestion
# SX1309: FieldNamesMustBeginWithUnderscore
dotnet_diagnostic.SX1309.severity = suggestion
# SA1312: Variable names should begin with lower-case letter
dotnet_diagnostic.SA1312.severity = suggestion
# SA1400: Access modifier should be declared
dotnet_diagnostic.SA1400.severity = suggestion
# SA1401: Fields should be private
dotnet_diagnostic.SA1401.severity = suggestion
# SA1005: Single line comments should begin with single space
dotnet_diagnostic.SA1005.severity = suggestion
# SA1008: Opening parenthesis should be spaced correctly
dotnet_diagnostic.SA1008.severity = suggestion
# SA1028: Code should not contain trailing whitespace
dotnet_diagnostic.SA1028.severity = silent
# SA1100: Do not prefix calls with base unless local implementation exists
dotnet_diagnostic.SA1100.severity = suggestion
# SA1117: Parameters should be on same line or separate lines
dotnet_diagnostic.SA1117.severity = suggestion
# SA1139: Use literal suffix notation instead of casting
dotnet_diagnostic.SA1139.severity = suggestion
# SA1200: Using directives should be placed correctly
dotnet_diagnostic.SA1200.severity = silent
# SA1623: Property summary documentation should match accessors
dotnet_diagnostic.SA1623.severity = silent
# SA1120: Comments should contain text
dotnet_diagnostic.SA1120.severity = silent
# SA1611: Element parameters should be documented
dotnet_diagnostic.SA1611.severity = silent
# SA1636: File header copyright text should match
dotnet_diagnostic.SA1636.severity = suggestion
# SA1615: Element return value should be documented
dotnet_diagnostic.SA1615.severity = silent
# SA1614: Element parameter documentation should have text
dotnet_diagnostic.SA1614.severity = silent
# SA1618: Generic type parameters should be documented
dotnet_diagnostic.SA1618.severity = silent
# SA1642: Constructor summary documentation should begin with standard text
dotnet_diagnostic.SA1642.severity = silent
# SA1413: Use trailing comma in multi-line initializers
dotnet_diagnostic.SA1413.severity = silent
# SA1309: Field names should not begin with underscore
dotnet_diagnostic.SA1309.severity = silent
# SA1600: Elements should be documented
dotnet_diagnostic.SA1600.severity = suggestion
# SA1513: Closing brace should be followed by blank line
dotnet_diagnostic.SA1513.severity = suggestion
# SA1009: Closing parenthesis should be spaced correctly
dotnet_diagnostic.SA1009.severity = suggestion
# SA1003: Symbols should be spaced correctly
dotnet_diagnostic.SA1003.severity = suggestion
# SA1201: Elements should appear in the correct order
dotnet_diagnostic.SA1201.severity = suggestion
# SA1121: Use built-in type alias
dotnet_diagnostic.SA1121.severity = suggestion
# SA1013: Closing braces should be spaced correctly
dotnet_diagnostic.SA1013.severity = suggestion
# SA1515: Single-line comment should be preceded by blank line
dotnet_diagnostic.SA1515.severity = suggestion
# SA1516: Elements should be separated by blank line
dotnet_diagnostic.SA1516.severity = suggestion
# SA1602: Enumeration items should be documented
dotnet_diagnostic.SA1602.severity = suggestion
# SA1616: Element return value documentation should have text
dotnet_diagnostic.SA1616.severity = silent
# SA1617: Void return value should not be documented
dotnet_diagnostic.SA1617.severity = silent
# SA1624: Property summary documentation should omit accessor with restricted access
dotnet_diagnostic.SA1624.severity = silent
# SA1625: Element documentation should not be copied and pasted
dotnet_diagnostic.SA1625.severity = silent
# SA1627: Documentation text should not be empty
dotnet_diagnostic.SA1627.severity = suggestion
# SA1116: Split parameters should start on line after declaration
dotnet_diagnostic.SA1116.severity = suggestion
# SA1122: Use string.Empty for empty strings
dotnet_diagnostic.SA1122.severity = suggestion
# SA1124: Do not use regions
dotnet_diagnostic.SA1124.severity = suggestion
# SA1127: Generic type constraints should be on their own line
dotnet_diagnostic.SA1127.severity = suggestion
# SA1128: Put constructor initializers on their own line
dotnet_diagnostic.SA1128.severity = suggestion
# SA1129: Do not use default value type constructor
dotnet_diagnostic.SA1129.severity = suggestion
# SA1202: Elements should be ordered by access
dotnet_diagnostic.SA1202.severity = suggestion
# SA1407: Arithmetic expressions should declare precedence
dotnet_diagnostic.SA1407.severity = suggestion
# SA1500: Braces for multi-line statements should not share line
dotnet_diagnostic.SA1500.severity = suggestion
# SA1000: Keywords should be spaced correctly
dotnet_diagnostic.SA1000.severity = suggestion
# SA1001: Commas should be spaced correctly
dotnet_diagnostic.SA1001.severity = suggestion
# SA1004: Documentation lines should begin with single space
dotnet_diagnostic.SA1004.severity = suggestion
# SA1012: Opening braces should be spaced correctly
dotnet_diagnostic.SA1012.severity = suggestion
# SA1025: Code should not contain multiple whitespace in a row
dotnet_diagnostic.SA1025.severity = suggestion
# SA1106: Code should not contain empty statements
dotnet_diagnostic.SA1106.severity = suggestion
# SA1107: Code should not contain multiple statements on one line
dotnet_diagnostic.SA1107.severity = suggestion
# SA1108: Block statements should not contain embedded comments
dotnet_diagnostic.SA1108.severity = silent
# SA1111: Closing parenthesis should be on line of last parameter
dotnet_diagnostic.SA1111.severity = suggestion
# SA1119: Statement should not use unnecessary parenthesis
dotnet_diagnostic.SA1119.severity = suggestion
# SA1204: Static elements should appear before instance elements
dotnet_diagnostic.SA1204.severity = suggestion
# SA1214: Readonly fields should appear before non-readonly fields
dotnet_diagnostic.SA1214.severity = suggestion
# SA1310: Field names should not contain underscore
dotnet_diagnostic.SA1310.severity = silent
# SA1502: Element should not be on a single line
dotnet_diagnostic.SA1502.severity = suggestion
# SA1503: Braces should not be omitted
dotnet_diagnostic.SA1503.severity = suggestion
# SA1504: All accessors should be single-line or multi-line
dotnet_diagnostic.SA1504.severity = suggestion
# SA1507: Code should not contain multiple blank lines in a row
dotnet_diagnostic.SA1507.severity = suggestion
# SA1508: Closing braces should not be preceded by blank line
dotnet_diagnostic.SA1508.severity = suggestion
# SA1514: Element documentation header should be preceded by blank line
dotnet_diagnostic.SA1514.severity = suggestion
# SA1203: Constants should appear before fields
dotnet_diagnostic.SA1203.severity = suggestion
# SA1206: Declaration keywords should follow order
dotnet_diagnostic.SA1206.severity = suggestion
# SA1207: Protected should come before internal
dotnet_diagnostic.SA1207.severity = suggestion
# SA1210: Using directives should be ordered alphabetically by namespace
dotnet_diagnostic.SA1210.severity = suggestion
# SA1307: Accessible fields should begin with upper-case letter
dotnet_diagnostic.SA1307.severity = suggestion
# SA1313: Parameter names should begin with lower-case letter
dotnet_diagnostic.SA1313.severity = silent
# SA1402: File may only contain a single type
dotnet_diagnostic.SA1402.severity = suggestion
# SA1501: Statement should not be on a single line
dotnet_diagnostic.SA1501.severity = suggestion
# SA1505: Opening braces should not be followed by blank line
dotnet_diagnostic.SA1505.severity = suggestion
# SA1512: Single-line comments should not be followed by blank line
dotnet_diagnostic.SA1512.severity = silent
# SA1519: Braces should not be omitted from multi-line child statement
dotnet_diagnostic.SA1519.severity = suggestion
# SA1649: File name should match first type name
dotnet_diagnostic.SA1649.severity = suggestion
# SA1520: Use braces consistently
dotnet_diagnostic.SA1520.severity = suggestion
# SA1648: inheritdoc should be used with inheriting class
dotnet_diagnostic.SA1648.severity = suggestion
# SA1622: Generic type parameter documentation should have text
dotnet_diagnostic.SA1622.severity = silent
# SA1114: Parameter list should follow declaration
dotnet_diagnostic.SA1114.severity = suggestion
# SA1113: Comma should be on the same line as previous parameter
dotnet_diagnostic.SA1113.severity = suggestion
# SA1110: Opening parenthesis or bracket should be on declaration line
dotnet_diagnostic.SA1110.severity = suggestion
# SA1137: Elements should have the same indentation
dotnet_diagnostic.SA1137.severity = suggestion
# SA1306: Field names should begin with lower-case letter
dotnet_diagnostic.SA1306.severity = suggestion
# SA1606: Element documentation should have summary text
dotnet_diagnostic.SA1606.severity = suggestion
# SA1612: Element parameter documentation should match element parameters
dotnet_diagnostic.SA1612.severity = silent
# SA1620: Generic type parameter documentation should match type parameters
dotnet_diagnostic.SA1620.severity = silent
# SA1118: Parameter should not span multiple lines
dotnet_diagnostic.SA1118.severity = suggestion
# SA1134: Attributes should not share line
dotnet_diagnostic.SA1134.severity = suggestion
# SA1208: System using directives should be placed before other using directives
dotnet_diagnostic.SA1208.severity = suggestion
# SA1506: Element documentation headers should not be followed by blank line
dotnet_diagnostic.SA1506.severity = suggestion
# SA1026: Code should not contain space after new or stackalloc keyword in implicitly typed array allocation
dotnet_diagnostic.SA1026.severity = suggestion
# SA1518: Use line endings correctly at end of file
dotnet_diagnostic.SA1518.severity = suggestion
# SA1024: Colons Should Be Spaced Correctly
dotnet_diagnostic.SA1024.severity = suggestion
# SA1011: Closing square brackets should be spaced correctly
dotnet_diagnostic.SA1011.severity = suggestion
# SA1010: Opening square brackets should be spaced correctly
dotnet_diagnostic.SA1010.severity = suggestion
# SA1002: Semicolons should be spaced correctly
dotnet_diagnostic.SA1002.severity = suggestion
# SA1015: Closing generic brackets should be spaced correctly
dotnet_diagnostic.SA1015.severity = suggestion
# SA1017: Closing attribute brackets should be spaced correctly
dotnet_diagnostic.SA1017.severity = suggestion
# SA1021: Negative signs should be spaced correctly
dotnet_diagnostic.SA1021.severity = suggestion
# SA0001: XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA0001.severity = none
# SA1131: Use readable conditions
dotnet_diagnostic.SA1131.severity = suggestion
# SA1133: Do not combine attributes
dotnet_diagnostic.SA1133.severity = silent
# SA1300: Element should begin with upper-case letter
dotnet_diagnostic.SA1300.severity = suggestion
# SA1405: Debug.Assert should provide message text
dotnet_diagnostic.SA1405.severity = suggestion
# SA1626: Single-line comments should not use documentation style slashes
dotnet_diagnostic.SA1626.severity = silent
# SA1136: Enum values should be on separate lines
dotnet_diagnostic.SA1136.severity = suggestion
# SA1311: Static readonly fields should begin with upper-case letter
dotnet_diagnostic.SA1311.severity = suggestion