augmentation des niveaux de warning dans la solution #26
@@ -5,6 +5,7 @@ root = true
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
dotnet_diagnostic.CA1307.severity = none
|
||||||
|
|
||||||
[Src/HexagonalLib/**]
|
[Src/HexagonalLib/**]
|
||||||
generated_code = true
|
generated_code = true
|
||||||
@@ -4,6 +4,10 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||||
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||||
|
<AnalysisMode>All</AnalysisMode>
|
||||||
|
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ namespace Giants.Core.Commands;
|
|||||||
public abstract class BaseCommandResult
|
public abstract class BaseCommandResult
|
||||||
{
|
{
|
||||||
/// <summary> indique si le resultat est un success (true) ou un echec(false) </summary>
|
/// <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; }
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
namespace Giants.Core;
|
namespace Giants.Core;
|
||||||
|
|
||||||
public struct AxialCoords
|
public record struct AxialCoords
|
||||||
{
|
{
|
||||||
public int Q { get; init; }
|
public int Q { get; init; }
|
||||||
public int R { get; init; }
|
public int R { get; init; }
|
||||||
|
|||||||
Reference in New Issue
Block a user