Moved suppression for informational message to editorconfig file. (#12173)

This commit is contained in:
Tanya Solyanik 2024-09-18 12:28:48 -07:00 коммит произвёл GitHub
Родитель facab3e935
Коммит 34dc978b14
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -646,7 +646,7 @@ end_of_line = crlf
# Test specific
[**/tests/**/*.cs]
# CA1861: Avoid constant arrays as arguments - expected to be inline for test readability (4000 hits)
# CA1861: Avoid constant arrays as arguments - expected to be in-line for test readability (4000 hits)
dotnet_diagnostic.CA1861.severity = silent
# This collides with TheoryData usage
@ -656,7 +656,13 @@ dotnet_style_prefer_collection_expression = true:silent
# xUnit1042: The member referenced by the MemberData attribute returns untyped data rows
dotnet_diagnostic.xUnit1042.severity = none
# CA1507: CA1507: Use nameof in place of string - many fasle positives
# xUnit1044: Avoid using TheoryData type arguments that are not serializable
dotnet_diagnostic.xUnit1044.severity = none
# xUnit1045: Avoid using TheoryData type arguments that might not be serializable
dotnet_diagnostic.xUnit1045.severity = none
# CA1507: CA1507: Use nameof in place of string - many false positives
dotnet_diagnostic.CA1507.severity = none
# CA1822: Mark members as static

Просмотреть файл

@ -31,7 +31,7 @@
SYSLIB0051: Formatters obsolete
SYSLIB5005: System.Formats.Nrbf is experimental
-->
<NoWarn>$(NoWarn);CS1574;CS1580;CA1036;CA1051;CA1066;SYSLIB0011;SYSLIB0050;SYSLIB0051;SYSLIB5005;xUnit1013;xUnit1045</NoWarn>
<NoWarn>$(NoWarn);CS1574;CS1580;CA1036;CA1051;CA1066;SYSLIB0011;SYSLIB0050;SYSLIB0051;SYSLIB5005;xUnit1013</NoWarn>
</PropertyGroup>
<ItemGroup>

Просмотреть файл

@ -15,7 +15,7 @@
SYSLIB0051: This API supports obsolete formatter-based serialization
SYSLIB5005: System.Formats.Nrbf is experimental
-->
<NoWarn>$(NoWarn),1573,1591,1712,WFDEV001,SYSLIB0050,SYSLIB0051,SYSLIB5005,xUnit1045</NoWarn>
<NoWarn>$(NoWarn),1573,1591,1712,WFDEV001,SYSLIB0050,SYSLIB0051,SYSLIB5005</NoWarn>
</PropertyGroup>
<ItemGroup>