Skip to content

Comments

Fix linting issues preventing package publication#15

Merged
pnizer merged 1 commit intomainfrom
fix/linting-issues-14
Jul 18, 2025
Merged

Fix linting issues preventing package publication#15
pnizer merged 1 commit intomainfrom
fix/linting-issues-14

Conversation

@pnizer
Copy link
Owner

@pnizer pnizer commented Jul 18, 2025

Summary

  • Fix all TypeScript any type usages with proper type definitions
  • Format long string literals to meet line length requirements
  • Remove extra whitespace in types.ts
  • Format media storage path access with proper typing

Files Changed

  • src/whatsapp-service.ts: Replace any types with proper interfaces, fix string formatting
  • src/types.ts: Remove extra whitespace
  • src/mcp-server.ts: Fix long string literal formatting
  • src/api.ts: Add proper typing for media storage path access

Test Plan

  • Run npm run lint - all checks pass
  • Verify no TypeScript errors
  • All existing functionality preserved

This resolves the linting issues that were preventing package publication in the GitHub Actions workflow.

Resolves #14

- Replace `any` types with proper TypeScript interfaces in whatsapp-service.ts
- Fix line length formatting for long string literals in whatsapp-service.ts and mcp-server.ts
- Remove extra whitespace in types.ts
- Format media storage path access in api.ts with proper typing

Resolves #14
@pnizer pnizer force-pushed the fix/linting-issues-14 branch from 3c096f6 to 06bac69 Compare July 18, 2025 16:58
@pnizer pnizer merged commit 35d2d36 into main Jul 18, 2025
3 checks passed
@pnizer pnizer deleted the fix/linting-issues-14 branch July 18, 2025 17:13
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.

Fix linting issues preventing package publication

1 participant