When fixing lint issues ($ARGUMENTS):
Run linter to see all errors:
npm run lintfor ESLint errorsnpm run format:checkfor Prettier issuesnpx tsc --noEmitfor TypeScript errors
Auto-fix what's possible:
npm run lint:fixfor auto-fixable ESLint rulesnpm run formatfor formatting
Manually fix remaining issues:
- Unused variables: remove or prefix with
_ - Missing types: add proper TypeScript types
- Import order: sort and group imports
- Naming conventions: fix to match project style
- Unused variables: remove or prefix with
Verify:
- Re-run linter to confirm zero errors
- Run tests to ensure fixes didn't break anything