# Fix Lint

> Fixes all lint errors and formatting issues automatically

- Skill: `eliferjunior/fix-lint` (Agent Skill)
- Install (CLI): `npx skillmds@latest add eliferjunior/fix-lint`
- Raw SKILL.md: https://api.skillmd.com/api/skills/eliferjunior/fix-lint/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: eliferjunior (https://skillmd.com/u/eliferjunior)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/eliferjunior/fix-lint

---


When fixing lint issues ($ARGUMENTS):

1. **Run linter** to see all errors:
   - `npm run lint` for ESLint errors
   - `npm run format:check` for Prettier issues
   - `npx tsc --noEmit` for TypeScript errors

2. **Auto-fix what's possible**:
   - `npm run lint:fix` for auto-fixable ESLint rules
   - `npm run format` for formatting

3. **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

4. **Verify**:
   - Re-run linter to confirm zero errors
   - Run tests to ensure fixes didn't break anything
