feat: NCS-25 Add linters to keep quality up
Build & Test (NowChessSystems) TeamCity build finished

This commit is contained in:
2026-04-12 18:51:39 +02:00
parent 3ecb2c9d66
commit eb8cc060cf
67 changed files with 1416 additions and 1200 deletions
+5
View File
@@ -37,6 +37,11 @@ Try to stick to these commands for consistency.
- **Coverage:** 100% condition coverage required in `api`, `core`, `rule`, `io` (mandatory); `ui` exempt.
### Linters
- **scalafmt** — enforces formatting; run `./gradlew scalafmtAll` to auto-format before committing.
- **scalafix** — enforces style and detects unused imports/code; run `./gradlew scalafix` to apply rules.
## Architecture Decisions
- **Immutable state as primary model:** GameContext (api) holds board, history, player state — immutable, passed through the system. Each move creates a new GameContext, enabling undo/redo without side effects.