Add some configuration to Project

This commit is contained in:
Francesco D'Amico
2025-03-19 13:56:21 +01:00
parent 1a8a0524a6
commit 5622e55441
2 changed files with 19 additions and 0 deletions
+8
View File
@@ -142,3 +142,11 @@ dotnet_diagnostic.SA1309.severity = none
# SA1309: Make sure class members are allowed to call without "this" prefix
dotnet_diagnostic.SA1101.severity = none
# parameter spans multiple lines
dotnet_diagnostic.SA1118.severity = none
# closing square bracket spacing
dotnet_diagnostic.SA1011.severity = none
# no blank lines at start of file
dotnet_diagnostic.SA1517.severity = none
# using directive should appear within a namespace
dotnet_diagnostic.SA1200.severity = none
@@ -6,6 +6,10 @@
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>be6a70eb-b657-40b2-b4a1-418e5c6ec131</UserSecretsId>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>$(SolutionDir)Francesco.Recipes.World.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="8.0.11" />
@@ -38,4 +42,11 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Controller\" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include=".\stylecop.json" />
</ItemGroup>
</Project>