Files
snippet-pastebin/.claude
johndoe6345789 edebe977f1 fix: Clean up lint errors and improve type safety
Address code review feedback:
- Removed unused imports (waitFor) from useDatabaseOperations.test.ts
- Removed unused variable (mockBlob) from useDatabaseOperations.test.ts
- Removed unused variable (initialCount) from useSnippetManager.test.ts
- Removed unused parameter (onOpenChange) from Dialog component
- Improved dialog component type safety by extracting conditional logic
- Fixed e2e test metrics() calls with type assertions (patched method)
- All linting errors fixed (5 errors → 0 errors)
- All warnings about unused variables resolved

Remaining 11 TypeScript errors are expected and documented:
- 3 missing external dependencies (embla-carousel, react-hook-form, resizable-panels)
- 8 component composition issues (known refactoring candidates)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-20 19:54:40 +00:00
..