| name | lint-fix |
| description | Fixes all auto-fixable lint errors and explains the non-auto-fixable ones |
| user-invocable | true |
| allowed-tools | Bash Read Edit |
| effort | low |
Fix Lint Errors
- Run linter to see all issues:
npx eslint . --ext .ts,.tsx,.js,.jsx 2>&1 | head -80
npx biome check . 2>&1 | head -80
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.