Fix Lint Errors
- Run linter to see all issues:
npx eslint . --ext .ts,.tsx,.js,.jsx 2>&1 | head -80
# or
npx biome check . 2>&1 | head -80
# or
golangci-lint run 2>&1 | head -80
- Apply auto-fix:
npx eslint . --ext .ts,.tsx,.js,.jsx --fix 2>&1
- For remaining errors (non-auto-fixable):
- Read each affected file
- Understand why the rule exists
- Apply the correct fix (not just suppressing with comments)
- If a rule keeps firing and seems wrong for the project: note it but do NOT add
eslint-disable comments - flag it for review instead.
- Report: N auto-fixed, N manually fixed, N flagged for team review.
Use this skill with your AI agent:
Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.