docs consolidation and others
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<PropertyGroup>
|
||||
<StellaOpsRepoRoot Condition="'$(StellaOpsRepoRoot)' == ''">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)../'))</StellaOpsRepoRoot>
|
||||
<StellaOpsDotNetPublicSource Condition="'$(StellaOpsDotNetPublicSource)' == ''">https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json</StellaOpsDotNetPublicSource>
|
||||
<RestoreConfigFile Condition="'$(RestoreConfigFile)' == ''">$([System.IO.Path]::Combine('$(StellaOpsRepoRoot)','NuGet.config'))</RestoreConfigFile>
|
||||
<RestoreConfigFile Condition="'$(RestoreConfigFile)' == ''">$([System.IO.Path]::Combine('$(StellaOpsRepoRoot)','nuget.config'))</RestoreConfigFile>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Package metadata for NuGet publishing -->
|
||||
@@ -53,9 +53,9 @@
|
||||
<NuGetAudit>false</NuGetAudit>
|
||||
|
||||
<!-- Suppress NuGet warnings -->
|
||||
<NoWarn>$(NoWarn);NU1608;NU1605;NU1202;NU1107;NU1504;NU1101;NU1507;CS1591</NoWarn>
|
||||
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1608;NU1605;NU1202;NU1107;NU1504;NU1101;NU1507;NU1900;NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
|
||||
<RestoreNoWarn>$(RestoreNoWarn);NU1608;NU1605;NU1202;NU1107;NU1504;NU1101;NU1507</RestoreNoWarn>
|
||||
<NoWarn>$(NoWarn);NU1608;NU1605;NU1202;NU1107;NU1504;NU1101;CS1591</NoWarn>
|
||||
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1608;NU1605;NU1202;NU1107;NU1504;NU1101;NU1900;NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
|
||||
<RestoreNoWarn>$(RestoreNoWarn);NU1608;NU1605;NU1202;NU1107;NU1504;NU1101</RestoreNoWarn>
|
||||
<RestoreWarningsAsErrors></RestoreWarningsAsErrors>
|
||||
<RestoreTreatWarningsAsErrors>false</RestoreTreatWarningsAsErrors>
|
||||
<RestoreDisableImplicitNuGetFallbackFolder>true</RestoreDisableImplicitNuGetFallbackFolder>
|
||||
@@ -137,6 +137,38 @@
|
||||
<UseXunitV3>true</UseXunitV3>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- xUnit analyzer suppressions for ALL test projects -->
|
||||
<!-- Matches: *.Tests, *UnitTests, __Tests/*, Integration.* test projects -->
|
||||
<PropertyGroup Condition="$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('Tests')) or
|
||||
$([System.String]::Copy('$(MSBuildProjectDirectory)').Contains('__Tests')) or
|
||||
$([System.String]::Copy('$(MSBuildProjectName)').StartsWith('StellaOps.Integration.'))">
|
||||
<!-- xUnit analyzer warnings - test-specific advisories, not code quality issues -->
|
||||
<!-- xUnit1012: Null should only be used for reference types -->
|
||||
<!-- xUnit1013: Public method should be marked as test -->
|
||||
<!-- xUnit1026: Unused theory parameters -->
|
||||
<!-- xUnit1030: Do not call ConfigureAwait in test method -->
|
||||
<!-- xUnit1031: Blocking task operations -->
|
||||
<!-- xUnit1051: CancellationToken advisory -->
|
||||
<!-- xUnit2000: Constants and literals should be first argument to Assert.Equal -->
|
||||
<!-- xUnit2002: Assert.NotNull on value types -->
|
||||
<!-- xUnit2009: Assert.True for substrings -->
|
||||
<!-- xUnit2012: Assert pattern preferences -->
|
||||
<!-- xUnit2013: Assert pattern preferences -->
|
||||
<!-- xUnit2031: Where before Assert.Single -->
|
||||
<!-- xUnit3003: Theories with inline data should have unique data -->
|
||||
<!-- CS8424: Nullable reference patterns in tests -->
|
||||
<!-- CS8601: Possible null reference assignment (intentional in tests) -->
|
||||
<!-- CS8602: Dereference of possibly null reference (test context) -->
|
||||
<!-- CS8604: Possible null reference argument (test context) -->
|
||||
<!-- CS8619: Nullability mismatch in return type (test context) -->
|
||||
<!-- CS8633: Nullability in constraints (test implementations) -->
|
||||
<!-- CS8714: Type cannot be used as type parameter (test context) -->
|
||||
<!-- CS8767: Nullability mismatch in interface implementation (test context) -->
|
||||
<!-- CA1416: Platform compatibility (Windows-specific tests) -->
|
||||
<!-- EXCITITOR001: Custom analyzer for deprecated consensus logic (AOC-19) -->
|
||||
<NoWarn>$(NoWarn);xUnit1012;xUnit1013;xUnit1026;xUnit1030;xUnit1031;xUnit1051;xUnit2000;xUnit2002;xUnit2009;xUnit2012;xUnit2013;xUnit2031;xUnit3003;CS8424;CS8601;CS8602;CS8604;CS8619;CS8633;CS8714;CS8767;CA1416;EXCITITOR001</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Concelier shared test infrastructure (only when paths exist and not opted out) -->
|
||||
<ItemGroup Condition="$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.Tests')) and '$(UseConcelierTestInfra)' != 'false'">
|
||||
<Compile Include="$(ConcelierSharedTestsPath)AssemblyInfo.cs" Link="Shared\AssemblyInfo.cs" Condition="'$(ConcelierSharedTestsPath)' != ''" />
|
||||
|
||||
Reference in New Issue
Block a user