Add some configuration to Project
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user