diff --git a/.editorconfig b/.editorconfig index 0b8efc7..505cfcf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 \ No newline at end of file diff --git a/Src/Giants.Core/Giants.Core.csproj b/Src/Giants.Core/Giants.Core.csproj index fa71b7a..04cda5d 100644 --- a/Src/Giants.Core/Giants.Core.csproj +++ b/Src/Giants.Core/Giants.Core.csproj @@ -4,6 +4,10 @@ net8.0 enable enable + true + true + All + false diff --git a/Src/Giants.Core/Src/Commands/BaseCommandResult.cs b/Src/Giants.Core/Src/Commands/BaseCommandResult.cs index 10ecb46..b497931 100644 --- a/Src/Giants.Core/Src/Commands/BaseCommandResult.cs +++ b/Src/Giants.Core/Src/Commands/BaseCommandResult.cs @@ -7,5 +7,5 @@ namespace Giants.Core.Commands; public abstract class BaseCommandResult { /// indique si le resultat est un success (true) ou un echec(false) - public bool Success { get; init; } = false; + public bool Success { get; init; } } \ No newline at end of file diff --git a/Src/Giants.Core/Src/ValuesObjects/AxialCoords.cs b/Src/Giants.Core/Src/ValuesObjects/AxialCoords.cs index 61beb09..8d660ee 100644 --- a/Src/Giants.Core/Src/ValuesObjects/AxialCoords.cs +++ b/Src/Giants.Core/Src/ValuesObjects/AxialCoords.cs @@ -1,6 +1,6 @@ namespace Giants.Core; -public struct AxialCoords +public record struct AxialCoords { public int Q { get; init; } public int R { get; init; }