Skip to content

Instantly share code, notes, and snippets.

@Davis-3450
Created December 9, 2025 06:28
Show Gist options
  • Select an option

  • Save Davis-3450/1bd9f30071f9439f4e0619a9b8b5031b to your computer and use it in GitHub Desktop.

Select an option

Save Davis-3450/1bd9f30071f9439f4e0619a9b8b5031b to your computer and use it in GitHub Desktop.

Estado de lint (bun lint)

  • Gravedad estimada: 7/10
  • 26 errores (bloquean), 75 warnings

Acciones críticas (bloquean)

  • Reemplazar any por tipos concretos:
    • src/features/auth/components/AuthLoginPage.tsx:42
    • src/features/auth/components/AuthSignupPage.tsx:48
    • src/features/projects/components/ProjectCreatePage.tsx:63
    • src/features/projects/components/ProjectList.tsx:28,136,208
    • src/features/projects/hooks/useProject.ts:59
    • src/hooks/useProject.ts:59
  • Navegación Next: usar Link en vez de <a>:
    • src/features/capture-forms/components/PublicCaptureFormPage.tsx:563,582
  • Comillas sin escapar en JSX: reemplazar " por &quot; o reescribir texto:
    • src/features/embeds/components/EmbedPage.tsx:284 (2x), 448 (2x)
    • src/features/testimonials/components/ProjectImportFromTextPage.tsx:197 (4x)
    • src/features/testimonials/components/ProjectTestimonialsPage.tsx:391 (2x), 526
    • src/features/testimonials/components/TestimonialEditPage.tsx:563 (4x)
  • prefer-const:
    • src/lib/cloudinary/upload.ts:119

Riesgo funcional moderado (warnings de hooks)

  • Agregar deps faltantes o refactor de efectos:
    • src/features/capture-forms/components/ProjectCaptureFormsListPage.tsx:30
    • src/features/projects/components/ProjectEditorsManagementPage.tsx:44
    • src/features/projects/hooks/useProject.ts:28
    • src/hooks/useProject.ts:28
    • src/features/testimonials/components/ProjectTestimonialsPage.tsx:62
    • src/features/testimonials/components/TestimonialEditPage.tsx:66

Calidad / A11y / Perf

  • Cambiar <img> por next/image y añadir alt:
    • src/features/embeds/components/EmbedPage.tsx:194
    • src/features/capture-forms/components/PublicCaptureFormPage.tsx:470
    • src/features/testimonials/components/ProjectImportFromImagePage.tsx:228,242,376
    • src/features/testimonials/components/ProjectImportFromTextPage.tsx:315
    • src/features/testimonials/components/ProjectImportFromVideoPage.tsx:260,478
    • src/features/testimonials/components/ProjectImportSourcePage.tsx:47
    • src/features/testimonials/components/ProjectTestimonialsPage.tsx:391,491,680
    • src/features/testimonials/components/TestimonialEditPage.tsx:391,491,680,514
  • Limpiar imports/estados/vars sin usar para reducir ruido:
    • src/app/(auth)/layout.tsx; src/components/layout/*; src/components/branding/Logo.tsx
    • Ramas de captura-forms, embeds, projects, testimonials (ver avisos de lint).

Comando de verificación

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