fix: remove 27 unused imports, variables, and dead code - #59
Open
TerminalGravity wants to merge 1 commit into
Open
fix: remove 27 unused imports, variables, and dead code#59TerminalGravity wants to merge 1 commit into
TerminalGravity wants to merge 1 commit into
Conversation
- Remove unused imports across 12 source files - Remove dead gitCmd() helper in lib/git.ts - Remove unused toMarkdown() function in generate-scorecard.ts (replaced by toMarkdownWithBaseline) - Remove unused CORRECTION_PATTERNS constant in generate-scorecard.ts - Remove unused promptKeywords assignment in lib/patterns.ts - Fix catch clause with unused error binding in timeline-db.ts Reduces lint warnings from 74 to 47 (all remaining are no-explicit-any).
TerminalGravity
commented
Mar 3, 2026
This was referenced Mar 3, 2026
TerminalGravity
commented
Mar 5, 2026
TerminalGravity
left a comment
Collaborator
Author
There was a problem hiding this comment.
27 unused imports/variables cleaned up — nice hygiene pass. CI green. This should be safe to merge early since it's all deletions with no behavioral change. Would be good to get this in before the bigger feature PRs to reduce noise in diffs.
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.
Cleans up all unused import/variable lint warnings across the codebase.
Changes across 15 files:
gitCmd()helper inlib/git.tstoMarkdown()(replaced bytoMarkdownWithBaseline) andCORRECTION_PATTERNSingenerate-scorecard.tspromptKeywordsassignment inlib/patterns.tstimeline-db.tsResult: Lint warnings reduced from 74 → 47 (remaining are all
no-explicit-any— separate PR).Build ✅ | Tests ✅ (43/43) | No behavior changes.