chore: remove unused imports and bindings flagged by lint - #71
Merged
Merged
Conversation
Clear the ten remaining `@typescript-eslint/no-unused-vars` warnings, all left behind as dead code by the zero-swarm migration: unused h3-js and shared imports in the world engine and simulation service, unused test imports, an unused destructured `worker`, and a rest-omit binding in the shared snapshot fixture, which now builds roster entries from the fields it needs. No behavior changes; lint now reports no warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears the ten remaining
@typescript-eslint/no-unused-varswarnings. All of them are dead code left behind by the zero-swarm migration (#65–#70). Lint now reports no warnings.Changes
No behavior changes.
packages/world-engine/src/index.ts: removed unused importscellToLatLng,greatCircleDistance, andOBJECTIVE_PROMPT_VERSION.apps/game-api/src/simulation-service.ts: removed unused importsgridDisk,h3CellSchema, andWORLD_SCENARIO_LIMITS.packages/shared/src/index.test.ts:WORLD_SCENARIO_LIMITSandagentIdSchema.({ currentCell: _currentCell, ...agent })rest-omit binding. The snapshot fixture now builds its roster entries from the fields it needs (id,name,color). That was the only use of this idiom, so the repo-wide lint config is unchanged.apps/game-api/src/swarm-directives.test.ts: removed an unused destructuredworker.Validation
Run locally by the repository owner and reported green:
🤖 Generated with Claude Code