зеркало из https://github.com/microsoft/vs-mef.git
170 строки
5.1 KiB
INI
170 строки
5.1 KiB
INI
[*.cs]
|
|
|
|
# SA1600: Elements should be documented
|
|
dotnet_diagnostic.SA1600.severity = silent
|
|
|
|
# SA1601: Partial elements should be documented
|
|
dotnet_diagnostic.SA1601.severity = silent
|
|
|
|
# SA1602: Enumeration items should be documented
|
|
dotnet_diagnostic.SA1602.severity = silent
|
|
|
|
# SA1615: Element return value should be documented
|
|
dotnet_diagnostic.SA1615.severity = silent
|
|
|
|
# VSTHRD103: Call async methods when in an async method
|
|
dotnet_diagnostic.VSTHRD103.severity = silent
|
|
|
|
# VSTHRD111: Use .ConfigureAwait(bool)
|
|
dotnet_diagnostic.VSTHRD111.severity = none
|
|
|
|
# VSTHRD200: Use Async suffix for async methods
|
|
dotnet_diagnostic.VSTHRD200.severity = silent
|
|
|
|
# CA1014: Mark assemblies with CLSCompliant
|
|
dotnet_diagnostic.CA1014.severity = none
|
|
|
|
# CA1050: Declare types in namespaces
|
|
dotnet_diagnostic.CA1050.severity = none
|
|
|
|
# CA1303: Do not pass literals as localized parameters
|
|
dotnet_diagnostic.CA1303.severity = none
|
|
|
|
# CS1591: Missing XML comment for publicly visible type or member
|
|
dotnet_diagnostic.CS1591.severity = silent
|
|
|
|
# CA1707: Identifiers should not contain underscores
|
|
dotnet_diagnostic.CA1707.severity = silent
|
|
|
|
# CA1062: Validate arguments of public methods
|
|
dotnet_diagnostic.CA1062.severity = suggestion
|
|
|
|
# CA1063: Implement IDisposable Correctly
|
|
dotnet_diagnostic.CA1063.severity = silent
|
|
|
|
# CA1816: Dispose methods should call SuppressFinalize
|
|
dotnet_diagnostic.CA1816.severity = silent
|
|
|
|
# CA2007: Consider calling ConfigureAwait on the awaited task
|
|
dotnet_diagnostic.CA2007.severity = none
|
|
|
|
# CA1000: Do not declare static members on generic types
|
|
dotnet_diagnostic.CA1000.severity = none
|
|
|
|
# CA1034: Nested types should not be visible
|
|
dotnet_diagnostic.CA1034.severity = none
|
|
|
|
# SA1401: Fields should be private
|
|
dotnet_diagnostic.SA1401.severity = none
|
|
|
|
# CA1031: Do not catch general exception types
|
|
dotnet_diagnostic.CA1031.severity = none
|
|
|
|
# CA1032: Implement standard exception constructors
|
|
dotnet_diagnostic.CA1032.severity = none
|
|
|
|
# CA1040: Avoid empty interfaces
|
|
dotnet_diagnostic.CA1040.severity = none
|
|
|
|
# CA1044: Properties should not be write only
|
|
dotnet_diagnostic.CA1044.severity = none
|
|
|
|
# CA1051: Do not declare visible instance fields
|
|
dotnet_diagnostic.CA1051.severity = none
|
|
|
|
# CA1710: Identifiers should have correct suffix
|
|
dotnet_diagnostic.CA1710.severity = suggestion
|
|
|
|
# CA1801: Review unused parameters
|
|
dotnet_diagnostic.CA1801.severity = none
|
|
|
|
# CA1812: Avoid uninstantiated internal classes
|
|
dotnet_diagnostic.CA1812.severity = none
|
|
|
|
# CA1052: Static holder types should be Static or NotInheritable
|
|
dotnet_diagnostic.CA1052.severity = none
|
|
|
|
# CA1064: Exceptions should be public
|
|
dotnet_diagnostic.CA1064.severity = none
|
|
|
|
# CA1065: Do not raise exceptions in unexpected locations
|
|
dotnet_diagnostic.CA1065.severity = none
|
|
|
|
# CA1819: Properties should not return arrays
|
|
dotnet_diagnostic.CA1819.severity = suggestion
|
|
|
|
# CA1822: Mark members as static
|
|
dotnet_diagnostic.CA1822.severity = none
|
|
|
|
# CA1716: Identifiers should not match keywords
|
|
dotnet_diagnostic.CA1716.severity = none
|
|
|
|
# CA1305: Specify IFormatProvider
|
|
dotnet_diagnostic.CA1305.severity = none
|
|
|
|
# CA2000: Dispose objects before losing scope
|
|
dotnet_diagnostic.CA2000.severity = suggestion
|
|
|
|
# CA2208: Instantiate argument exceptions correctly
|
|
dotnet_diagnostic.CA2208.severity = none
|
|
|
|
# CA2211: Non-constant fields should not be visible
|
|
dotnet_diagnostic.CA2211.severity = none
|
|
|
|
# CA2227: Collection properties should be read only
|
|
dotnet_diagnostic.CA2227.severity = none
|
|
|
|
# SA1133: Do not combine attributes
|
|
dotnet_diagnostic.SA1133.severity = none
|
|
|
|
# SA1124: Do not use regions
|
|
dotnet_diagnostic.SA1124.severity = none
|
|
|
|
# SA1201: Elements should appear in the correct order
|
|
dotnet_diagnostic.SA1201.severity = none
|
|
|
|
# SA1502: Element should not be on a single line
|
|
dotnet_diagnostic.SA1502.severity = silent
|
|
|
|
# SA1501: Statement should not be on a single line
|
|
dotnet_diagnostic.SA1501.severity = silent
|
|
|
|
# SA1611: Element parameters should be documented
|
|
dotnet_diagnostic.SA1611.severity = none
|
|
|
|
# SA1202: Elements should be ordered by access
|
|
dotnet_diagnostic.SA1202.severity = none
|
|
|
|
# SA1204: Static elements should appear before instance elements
|
|
dotnet_diagnostic.SA1204.severity = none
|
|
|
|
# SA1414: Tuple types in signatures should have element names
|
|
dotnet_diagnostic.SA1414.severity = suggestion
|
|
|
|
# CA1806: Do not ignore method results
|
|
dotnet_diagnostic.CA1806.severity = suggestion
|
|
|
|
# CA1067: Override Object.Equals(object) when implementing IEquatable<T>
|
|
dotnet_diagnostic.CA1067.severity = suggestion
|
|
|
|
# IDE0008: Use explicit type
|
|
dotnet_diagnostic.IDE0008.severity = suggestion
|
|
|
|
# SA1116: Split parameters should start on line after declaration
|
|
dotnet_diagnostic.SA1116.severity = suggestion
|
|
|
|
# SA1117: Parameters should be on same line or separate lines
|
|
dotnet_diagnostic.SA1117.severity = suggestion
|
|
|
|
# CA1815: Override equals and operator equals on value types
|
|
dotnet_diagnostic.CA1815.severity = silent
|
|
|
|
# SA1402: File may only contain a single type
|
|
dotnet_diagnostic.SA1402.severity = suggestion
|
|
|
|
# CA2237: Mark ISerializable types with serializable
|
|
dotnet_diagnostic.CA2237.severity = silent
|
|
|
|
# SA1108: Block statements should not contain embedded comments
|
|
dotnet_diagnostic.SA1108.severity = silent
|