augmentation des niveaux de warning dans la solution #26

Merged
mcmuzzle merged 1 commits from 25_dev_niveauWarning into main 2025-04-23 09:51:26 +00:00
4 changed files with 7 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ root = true
indent_style = space
indent_size = 4
charset = utf-8
dotnet_diagnostic.CA1307.severity = none
[Src/HexagonalLib/**]
generated_code = true

View File

@@ -4,6 +4,10 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisMode>All</AnalysisMode>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
</Project>

View File

@@ -7,5 +7,5 @@ namespace Giants.Core.Commands;
public abstract class BaseCommandResult
{
/// <summary> indique si le resultat est un success (true) ou un echec(false) </summary>
public bool Success { get; init; } = false;
public bool Success { get; init; }
}

View File

@@ -1,6 +1,6 @@
namespace Giants.Core;
public struct AxialCoords
public record struct AxialCoords
{
public int Q { get; init; }
public int R { get; init; }