style: apply CSharpier formatting to all C# sources
Repo-wide sweep with the pinned CSharpier 1.3.0 tool. Whitespace and line-wrapping only; OpenNest.Engine.Tests (109) and OpenNest.IO.Tests pass after reformat, full solution builds 0 errors. Added .csharpierignore so csproj/config XML keeps its existing layout (CSharpier's XML wrapping churns attributes with zero benefit). Formatting is now enforceable: dotnet csharpier check . passes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using OpenNest.Geometry;
|
||||
using OpenNest.Math;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenNest.RectanglePacking
|
||||
{
|
||||
@@ -8,11 +8,7 @@ namespace OpenNest.RectanglePacking
|
||||
{
|
||||
public static Bin CreateBin(Box area, double partSpacing)
|
||||
{
|
||||
var bin = new Bin
|
||||
{
|
||||
Location = area.Location,
|
||||
Size = area.Size
|
||||
};
|
||||
var bin = new Bin { Location = area.Location, Size = area.Size };
|
||||
|
||||
bin.Width += partSpacing;
|
||||
bin.Length += partSpacing;
|
||||
@@ -31,7 +27,7 @@ namespace OpenNest.RectanglePacking
|
||||
{
|
||||
Id = id,
|
||||
Location = box.Location,
|
||||
Size = box.Size
|
||||
Size = box.Size,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user