chore: add .editorconfig and pinned CSharpier tool manifest

Mirrors CSharpier conventions (4-space indent, Allman braces,
System-first usings, 100-col wraps) so IDE auto-format and
'dotnet format' agree with the canonical formatter.
Usage: dotnet tool restore && dotnet csharpier format .
This commit is contained in:
aj
2026-09-20 16:04:04 -04:00
parent 589d341455
commit 8e6fa677fb
4 changed files with 246 additions and 43 deletions
+9
View File
@@ -65,6 +65,15 @@ cd OpenNest
dotnet build OpenNest.sln
```
### Code formatting
C# sources are formatted with [CSharpier](https://csharpier.com/), pinned in `.config/dotnet-tools.json`; the matching style (4-space indent, Allman braces, System-first usings, 100-column wraps) is mirrored in `.editorconfig` so IDE auto-format agrees. Before committing:
```bash
dotnet tool restore
dotnet csharpier format . # apply; use `check` instead of `format` to verify only
```
### Cross-platform engine contract tests
```bash