Skip to content

fix: resolve all eslint no-explicit-any errors#451

Open
itskai-dev wants to merge 2 commits intomainfrom
link/fix-eslint-any-errors
Open

fix: resolve all eslint no-explicit-any errors#451
itskai-dev wants to merge 2 commits intomainfrom
link/fix-eslint-any-errors

Conversation

@itskai-dev
Copy link
Copy Markdown
Collaborator

CI Unblock — eslint errors

Fixes all 19 @typescript-eslint/no-explicit-any errors that are blocking branch protection.

Changes

  • src/lib/data.ts: Add stars, installs, framework optional fields to McpServer type
  • src/app/mcp/mcp-client.tsx: Remove 18 (server as any).field casts → proper typed access
  • src/app/api/compatibility/route.ts: Replace as any as with as unknown as (safer cast)

Result

  • Before: 19 errors + 120 warnings
  • After: 0 errors + 120 warnings (all non-blocking unused eslint-disable directives)

Unblocks PR #449 (design tokens migration) and all other pending branches.

- Add stars/installs/framework optional fields to McpServer type
- Remove 18 'as any' casts in mcp-client.tsx (now properly typed)
- Replace 'as any as' with 'as unknown as' in compatibility route
- 19 errors → 0 errors (120 warnings remain, all non-blocking)

Unblocks CI for all branches including PR #449 (design tokens)
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-hub Ready Ready Preview, Comment Feb 18, 2026 4:41pm

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented Feb 18, 2026

This pull request has been ignored for the connected project oldbapagtyvkplbqllwa because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Duplicate type fields caused 'Duplicate identifier' build error in CI.
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