-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.globalconfig
More file actions
201 lines (185 loc) · 17.4 KB
/
Copy path.globalconfig
File metadata and controls
201 lines (185 loc) · 17.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
root = true
dotnet_diagnostic.CA1012.severity = none # Abstract types should not have public constructors [Justification: Similar to S3442.]
dotnet_diagnostic.CA1050.severity = none # Declare types in namespaces [Justification: Similar to S3903.]
dotnet_diagnostic.CA1845.severity = none # Use span-based 'string.Concat'
dotnet_diagnostic.CA1846.severity = none # Prefer 'AsSpan' over 'Substring'
dotnet_diagnostic.CA2231.severity = none # Overload operator equals on overriding value type Equals
dotnet_diagnostic.CA1069.severity = warning # Enums values should not be duplicated
dotnet_diagnostic.CA1806.severity = warning # Do not ignore method results
dotnet_diagnostic.CA1816.severity = warning # Dispose methods should call SuppressFinalize
dotnet_diagnostic.CA1822.severity = warning # Member that does not access instance data can be marked as static
dotnet_diagnostic.CA1825.severity = warning # Avoid unnecessary zero-length array allocations
dotnet_diagnostic.CA1845.severity = warning # Prefer strongly-typed Append and Insert method overloads on StringBuilder
dotnet_diagnostic.CA1847.severity = warning # Use char literal for a single character lookup
dotnet_diagnostic.CA1859.severity = warning # Use concrete types when possible for improved performance
dotnet_diagnostic.CA1872.severity = warning # Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'
dotnet_diagnostic.CA2016.severity = warning # Forward the 'CancellationToken' parameter to methods
dotnet_diagnostic.CA2211.severity = warning # Non-constant fields should not be visible
dotnet_diagnostic.CA2249.severity = warning # Consider using 'string.Contains' instead of 'string.IndexOf'
dotnet_diagnostic.CA2254.severity = warning # Template should be a static expression
dotnet_diagnostic.CS8763.severity = warning # A method marked [DoesNotReturn] should not return.
dotnet_diagnostic.CS8770.severity = warning # Method lacks [DoesNotReturn] annotation to match implemented or overridden member.
dotnet_diagnostic.FAA0004.severity = error # Replace NUnit assertion with Fluent Assertions equivalent
dotnet_diagnostic.IDE0130.severity = none # Namespace does not match file structure [Justification: We do not care.]
dotnet_diagnostic.IDE1006.severity = none # Naming Styles [Justification: Naming styles should be guarded by other rules.]
dotnet_diagnostic.IDE0005.severity = suggestion # Using directive is unnecessary
dotnet_diagnostic.IDE0032.severity = suggestion # Use auto-implemented property
dotnet_diagnostic.IDE0290.severity = suggestion # Use primary constructor
dotnet_diagnostic.IDE0370.severity = sillent # Remove unnecessary suppression
dotnet_diagnostic.IDE0001.severity = warning # Simplify name
dotnet_diagnostic.IDE0002.severity = warning # Simplify member access
dotnet_diagnostic.IDE0004.severity = warning # Remove unnecessary cast
dotnet_diagnostic.IDE0017.severity = warning # Use object initializers
dotnet_diagnostic.IDE0018.severity = warning # Inline variable declaration
dotnet_diagnostic.IDE0019.severity = warning # Use pattern matching to avoid 'as' followed by a 'null' check
dotnet_diagnostic.IDE0020.severity = warning # Use pattern matching to avoid 'is' check followed by a cast
dotnet_diagnostic.IDE0021.severity = warning # Use expression body for constructors
dotnet_diagnostic.IDE0022.severity = warning # Use expression body for methods
dotnet_diagnostic.IDE0023.severity = warning # Use expression body for conversion operators
dotnet_diagnostic.IDE0024.severity = warning # Use expression body for operators
dotnet_diagnostic.IDE0025.severity = warning # Use expression body for properties
dotnet_diagnostic.IDE0026.severity = warning # Use expression body for indexers
dotnet_diagnostic.IDE0027.severity = warning # Use expression body for accessors
dotnet_diagnostic.IDE0028.severity = warning # Collection initialization can be simplified
dotnet_diagnostic.IDE0029.severity = warning # Null check can be simplified (ternary conditional check)
dotnet_diagnostic.IDE0030.severity = warning # Null check can be simplified (nullable ternary conditional check)
dotnet_diagnostic.IDE0033.severity = warning # Use explicitly provided tuple name
dotnet_diagnostic.IDE0034.severity = warning # Simplify 'default' expression
dotnet_diagnostic.IDE0035.severity = warning # Remove unreachable code
dotnet_diagnostic.IDE0038.severity = warning # Use pattern matching to avoid 'is' check followed by a cast
dotnet_diagnostic.IDE0040.severity = warning # Add accessibility modifiers
dotnet_diagnostic.IDE0041.severity = warning # Use 'is null' check
dotnet_diagnostic.IDE0042.severity = warning # Deconstruct variable declaration
dotnet_diagnostic.IDE0044.severity = warning # Add readonly modifier
dotnet_diagnostic.IDE0045.severity = warning # Add readonly modifier
dotnet_diagnostic.IDE0046.severity = warning # Use conditional expression for return
dotnet_diagnostic.IDE0051.severity = warning # Remove unused private member
dotnet_diagnostic.IDE0057.severity = warning # Use range operator
dotnet_diagnostic.IDE0063.severity = warning # Use simple 'using' statement
dotnet_diagnostic.IDE0066.severity = warning # Use switch expression
dotnet_diagnostic.IDE0070.severity = warning # Use System.HashCode.Combine
dotnet_diagnostic.IDE0071.severity = warning # Simplify interpolation
dotnet_diagnostic.IDE0075.severity = warning
dotnet_diagnostic.IDE0078.severity = warning # Simplify conditional expression
dotnet_diagnostic.IDE0079.severity = warning # Remove unnecessary suppression
dotnet_diagnostic.IDE0080.severity = warning # Remove unnecessary suppression operator
dotnet_diagnostic.IDE0082.severity = warning # Convert typeof to nameof
dotnet_diagnostic.IDE0083.severity = warning # Use pattern matching (not operator)
dotnet_diagnostic.IDE0090.severity = warning # Simplify new expression
dotnet_diagnostic.IDE0100.severity = warning # Remove unnecessary equality operator
dotnet_diagnostic.IDE0110.severity = warning # Remove unnecessary discard
dotnet_diagnostic.IDE0120.severity = warning # Simplify LINQ expression
dotnet_diagnostic.IDE0121.severity = warning # Simplify LINQ type check and cast
dotnet_diagnostic.IDE0150.severity = warning # Prefer 'null' check over type check
dotnet_diagnostic.IDE0170.severity = warning # Simplify property pattern
dotnet_diagnostic.IDE0180.severity = warning # Use tuple to swap values
dotnet_diagnostic.IDE0200.severity = warning # Remove unnecessary lambda expression
dotnet_diagnostic.IDE0211.severity = warning # Convert to 'Program.Main' style program
dotnet_diagnostic.IDE0230.severity = warning # Use UTF-8 string literal
dotnet_diagnostic.IDE0240.severity = warning # Nullable directive is redundant
dotnet_diagnostic.IDE0241.severity = warning # Struct can be made 'readonly'
dotnet_diagnostic.IDE0250.severity = warning
dotnet_diagnostic.IDE0260.severity = warning # Simplify conditional expression
dotnet_diagnostic.IDE0270.severity = warning # Null check can be simplified (if null check)
dotnet_diagnostic.IDE0280.severity = warning # Use 'nameof'
dotnet_diagnostic.IDE0300.severity = warning # Use collection expression for array
dotnet_diagnostic.IDE0301.severity = warning # Use collection expression for empty
dotnet_diagnostic.IDE0302.severity = warning # Use collection expression for stackalloc
dotnet_diagnostic.IDE0303.severity = warning # Use collection expression for Create()
dotnet_diagnostic.IDE0304.severity = warning # Use collection expression for builder
dotnet_diagnostic.IDE0305.severity = warning # Use collection expression for fluent
dotnet_diagnostic.IDE0306.severity = warning # Use collection expression for new
dotnet_diagnostic.IDE0330.severity = warning # Prefer 'System.Threading.Lock'
dotnet_diagnostic.IDE0340.severity = warning # Use unbound generic type
dotnet_diagnostic.IDE0350.severity = warning # Use implicitly typed lambda
dotnet_diagnostic.IDE0360.severity = warning # Simplify property accessor
dotnet_diagnostic.IDE1005.severity = warning # Use conditional delegate call
dotnet_diagnostic.NUnit1001.severity = none # The individual arguments provided by a TestCaseAttribute must match the type of the corresponding parameter of the method
dotnet_diagnostic.NUnit2005.severity = suggestion # Consider using Assert.That(actual, Is.EqualTo(expected)) instead of Assert.AreEqual(expected, actual)
dotnet_diagnostic.NUnit2021.severity = warning # Incompatible types for EqualTo constraint
dotnet_diagnostic.NUnit2005.severity = error # Consider using Assert.That instead of AreEqual
dotnet_diagnostic.NUnit2033.severity = error # Consider using Assert.That instead of NotZero
dotnet_diagnostic.Proj0006.severity = none # Add Additional files
dotnet_diagnostic.Proj0240.severity = none # Enable package validation [Justification: Disallows extended contracts for newer .NET versions]
dotnet_diagnostic.QW0010.severity = none # Use DateOnly instead of Date
dotnet_diagnostic.QW0001.severity = none # Use a testable Time Provider
dotnet_diagnostic.QW0003.severity = warning # Decorate Pure functions
dotnet_diagnostic.SA0001.severity = none # XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA1001.severity = none # Commas should not be preceded by whitespace
dotnet_diagnostic.SA1101.severity = none # Prefix local calls with this.
dotnet_diagnostic.SA1127.severity = none # Generic type constraints should be on their own line.
dotnet_diagnostic.SA1128.severity = none # Constructor initializes should be on their own line.
dotnet_diagnostic.SA1200.severity = none # using directive is placed outside of a namespace element.
dotnet_diagnostic.SA1201.severity = none # Order of different members.
dotnet_diagnostic.SA1202.severity = none # Sort members based on visibillity.
dotnet_diagnostic.SA1203.severity = none # Constants before non-constants.
dotnet_diagnostic.SA1204.severity = none # Sort members based on static/instance.
dotnet_diagnostic.SA1208.severity = none # System using directives must be placed before other using directives.
dotnet_diagnostic.SA1214.severity = none # Sort readonly fields before non-readonly fields.
dotnet_diagnostic.SA1300.severity = none # Enum members should not start with lower-case character.
dotnet_diagnostic.SA1304.severity = none # None-private fields should begin with upper-case character.
dotnet_diagnostic.SA1306.severity = none # Fields should begin with lower-case character.
dotnet_diagnostic.SA1307.severity = none # Fields should begin with upper-case character.
dotnet_diagnostic.SA1308.severity = none # Fields should begin with 'm_' prefix.
dotnet_diagnostic.SA1309.severity = none # Fields should begin with underscore.
dotnet_diagnostic.SA1310.severity = none # Fields should not contain underscores.
dotnet_diagnostic.SA1311.severity = none # Static read-only fields should begin with upper-case character.
dotnet_diagnostic.SA1501.severity = none # Statement should not be on single line.
dotnet_diagnostic.SA1502.severity = none # Element should not be on single line.
dotnet_diagnostic.SA1503.severity = none # Braces should not be omitted.
dotnet_diagnostic.SA1513.severity = none # Closing brace should be followed by an empty line.
dotnet_diagnostic.SA1519.severity = none # Braces should not be omitted from multi-line childe statement.
dotnet_diagnostic.SA1520.severity = none # Use braces consistently.
dotnet_diagnostic.SA1600.severity = none # Elements should be documented.
dotnet_diagnostic.SA1601.severity = none # Partial elements should be documented.
dotnet_diagnostic.SA1602.severity = none # Enumerations should be documented.
dotnet_diagnostic.SA1611.severity = none # The documentation for parameter x is missing.
dotnet_diagnostic.SA1615.severity = none # The documentation return value.
dotnet_diagnostic.SA1618.severity = none # The documentation type parameter.
dotnet_diagnostic.SA1623.severity = none # The property's documentation summary text should begin with: 'Gets'.
dotnet_diagnostic.SA1633.severity = none # The file header is missing or not located at the top of the file.
dotnet_diagnostic.SA1636.severity = none # The file header should contain match copyright from settings.
dotnet_diagnostic.SA1637.severity = none # The file header should contain file name.
dotnet_diagnostic.SA1640.severity = none # The copyright tag should contain a non-empty company attribute.
dotnet_diagnostic.SA1649.severity = none # File name should match first type name.
dotnet_diagnostic.SA1401.severity = suggestion # Fields should be private.
dotnet_diagnostic.SA1402.severity = suggestion # File may only contain one type.
dotnet_diagnostic.SA1407.severity = suggestion # Arithmetic expressions should declare precedence.
dotnet_diagnostic.SA1512.severity = suggestion # Single-line comment should be followed by blank line.
dotnet_diagnostic.SA1515.severity = suggestion # Single-line comment should be preceded by blank line.
dotnet_diagnostic.S100.severity = none # Properties should be named in PascalCase
dotnet_diagnostic.S101.severity = none # Types should be named in PascalCase
dotnet_diagnostic.S1694.severity = none # An abstract class should have both abstract and concrete methods
dotnet_diagnostic.S2178.severity = none # Short-circuit logic should be used in boolean contexts - '&' is used instead of && to accommodate expressions with nullable booleans too.
dotnet_diagnostic.S3376.severity = none # EventArgs, and Exception type names should end with the type being extended
dotnet_diagnostic.S3376.severity = none # Attribute, EventArgs, and Exception type names should end with the type being extended
dotnet_diagnostic.S3925.severity = none # "ISerializable" should be implemented correctly
dotnet_diagnostic.S4055.severity = none # Literals should not be passed as localized parameters
dotnet_diagnostic.S4136.severity = none # Method overloads should be grouped together
dotnet_diagnostic.S1133.severity = suggestion # Deprecated code should be removed
dotnet_diagnostic.S107.severity = warning # Methods should not have too many parameters
dotnet_diagnostic.S127.severity = warning # Methods should not have too many parameters
dotnet_diagnostic.S134.severity = warning # Control flow statements "if", "switch", "for", "foreach", "while", "do" and "try" should not be nested too deeply
dotnet_diagnostic.S138.severity = warning # Functions should not have too many lines of code
dotnet_diagnostic.S881.severity = warning # Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression
dotnet_diagnostic.S1067.severity = warning # Expressions should not be too complex
dotnet_diagnostic.S1144.severity = warning # Unused private types or members should be removed
dotnet_diagnostic.S1172.severity = warning # Unused method parameters should be removed
dotnet_diagnostic.S1185.severity = warning # Overriding members should do more than simply call the same member in the base class
dotnet_diagnostic.S1227.severity = warning # break statements should not be used except for switch cases
dotnet_diagnostic.S1479.severity = warning # Consider reworking this 'switch' to reduce the number of 'case's to at most 30
dotnet_diagnostic.S1541.severity = warning # Methods and properties should not be too complex
dotnet_diagnostic.S1858.severity = warning # "ToString()" calls should not be redundant
dotnet_diagnostic.S2197.severity = warning # Modulus results should not be checked for direct equa
dotnet_diagnostic.S2302.severity = warning # "nameof" should be used
dotnet_diagnostic.S2342.severity = warning # Rename this enumeration to match naming convention
dotnet_diagnostic.S2436.severity = warning # Types and methods should not have too many generic parameters
dotnet_diagnostic.S2701.severity = warning # Literal boolean values should not be used in assertions
dotnet_diagnostic.S3215.severity = warning # Interface instances should not be cast to concrete types
dotnet_diagnostic.S3218.severity = warning # Inner class members should not shadow outer class "static" or type members
dotnet_diagnostic.S3254.severity = warning # Rename this enumeration to match naming convention
dotnet_diagnostic.S3257.severity = warning # Default parameter values should not be passed as arguments
dotnet_diagnostic.S3776.severity = warning # Cognitive Complexity of methods should not be too high
dotnet_diagnostic.S3900.severity = warning # Arguments of public methods should be validated against null
dotnet_diagnostic.S6354.severity = warning # Use a testable (date) time provider instead
dotnet_diagnostic.SYSLIB1044.severity = none # The regex generator couldn't generate a complete source implementation for the specified regular expression due to an internal limitation