Skip to content

chore: remove all unused imports, variables, and dead code - #52

Closed
TerminalGravity wants to merge 1 commit into
mainfrom
chore/clean-lint-warnings
Closed

chore: remove all unused imports, variables, and dead code#52
TerminalGravity wants to merge 1 commit into
mainfrom
chore/clean-lint-warnings

Conversation

@TerminalGravity

Copy link
Copy Markdown
Collaborator

Summary

Eliminates all 27 no-unused-vars lint warnings across 14 files.

Changes

  • Remove unused imports (types, functions, modules) from 14 source files
  • Delete dead helper functions: gitCmd (lib/git.ts), toMarkdown (generate-scorecard.ts)
  • Remove unused CORRECTION_PATTERNS constant
  • Use bare catch clause where error variable was unused

Results

  • Lint warnings: 74 → 48 (remaining are all no-explicit-any, separate effort)
  • 0 unused-vars warnings remaining
  • Build: ✅ passes
  • Tests: ✅ 43/43 pass
  • No behavioral changes

- Remove 27 unused import/variable lint warnings across 14 files
- Delete dead helper functions: gitCmd (lib/git.ts), toMarkdown (generate-scorecard.ts)
- Remove unused CORRECTION_PATTERNS constant
- Use bare catch clause where error variable was unused
- Lint warnings reduced from 74 → 48 (remaining are no-explicit-any)
- Build passes, all 43 tests pass
@TerminalGravity

Copy link
Copy Markdown
Collaborator Author

Superseded by #59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant