fix: Phase 4 Technical Debt - ESLint, Recovery Files, Bundle Optimization #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Phase 4: Technical Debt (Low Priority)
This PR addresses 6 low-priority technical debt items identified in the production audit report.
Changes
1. Add ESLint Configuration (2 hours)
.eslintrc.jsonanytypes, unused vars, console usagelintandlint:fixto package.json2. Implement Recovery File Handling (6 hours)
src/utils/recovery-file.tssrc/popup/components/ProfileEditor.tsx3. Optimize Bundle Size (4 hours)
vite.config.tsqrcodelibrary (only needed for auth)react-image-crop(only needed for profile editor)4. Add typecheck Script (30 min)
package.jsontypecheckscriptnpm run typecheckrunstsc --noEmit5. Enhance Keyboard Shortcuts Documentation (2 hours)
README.md6. Create Dependency Upgrade Plan (30 min)
docs/DEPENDENCY_UPGRADE_PLAN.mdVerification
npm run lint- check for linting errorsnpm run typecheck- verify type checkingRelated
Part of comprehensive production audit remediation plan:
Audit Report
See
COMPREHENSIVE_AUDIT_REPORT.mdfor full details.