fix: resolve all ESLint errors across renderer code #5

Merged
deiussum merged 1 commit from fix-eslint-errors into develop 2026-09-19 06:39:07 -05:00
Owner

Summary

  • Fixes all 73 npm run lint errors in src/
  • Removes unused imports/vars, replaces var with let/const
  • Replaces any with real types: Tauri DialogFilter, pdfkit's PDFKit.PDFDocument, Jimp's inferred image type, and new save-data/export interfaces (MosaicChartSaveData, ChartPageData, ImageImportResult, etc.)
  • window.dialogs is now typed via a global Window augmentation instead of window as any casts

Test plan

  • npm run lint passes with 0 errors
  • npx tsc --noEmit passes with 0 errors
  • npx vite build succeeds
  • No behavior changes intended — this is type/lint cleanup only

🤖 Generated with Claude Code

https://claude.ai/code/session_01KoLHnQugaAW2eknKo8FxVp

## Summary - Fixes all 73 `npm run lint` errors in `src/` - Removes unused imports/vars, replaces `var` with `let`/`const` - Replaces `any` with real types: Tauri `DialogFilter`, pdfkit's `PDFKit.PDFDocument`, Jimp's inferred image type, and new save-data/export interfaces (`MosaicChartSaveData`, `ChartPageData`, `ImageImportResult`, etc.) - `window.dialogs` is now typed via a global `Window` augmentation instead of `window as any` casts ## Test plan - [x] `npm run lint` passes with 0 errors - [x] `npx tsc --noEmit` passes with 0 errors - [x] `npx vite build` succeeds - No behavior changes intended — this is type/lint cleanup only 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01KoLHnQugaAW2eknKo8FxVp
Removes unused imports/vars, replaces var with let/const, and
replaces `any` with real types (Tauri dialog filters, pdfkit's
PDFDocument, Jimp's inferred image type, and new save-data/export
interfaces) so window.dialogs is typed via a global augmentation
instead of `window as any` casts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KoLHnQugaAW2eknKo8FxVp
deiussum merged commit d306bccf19 into develop 2026-09-19 06:39:07 -05:00
deiussum deleted branch fix-eslint-errors 2026-09-19 06:39:08 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
deiussum/tesserow-backup!5
No description provided.