- Cleaned up whitespace in Directory.Build.props and Directory.Packages.props for consistency. - Reformatted project file references in PnvPanel.Api.csproj for better clarity. - Enhanced code readability in various endpoint files by adjusting line breaks and indentation. - Standardized method signatures and improved formatting in ResultExtensions and multiple endpoint classes for better maintainability.
21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
<AnalysisLevel>latest</AnalysisLevel>
|
|
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
<!--
|
|
Отключены точечно: правила рассчитаны на публичные NuGet-библиотеки и
|
|
VB.NET-интероп, нерелевантные для внутреннего backend-приложения.
|
|
CA1711/CA1716 — конфликты имён с VB.NET-ключевыми словами и суффикс "Delegate" у реального делегата.
|
|
CA1848/CA1873 — принудительные LoggerMessage-делегаты вместо обычных ILogger.LogX (micro-perf для не-hot-path кода).
|
|
-->
|
|
<NoWarn>$(NoWarn);CA1711;CA1716;CA1848;CA1873</NoWarn>
|
|
</PropertyGroup>
|
|
</Project>
|