Lint
ESLint found problems — X errors, Y warnings
ESLint detected code style or potential bug violations in your code. CI is configured to fail when ESLint reports errors.
Root Cause
Your code violates one or more ESLint rules. Common violations: unused variables, missing semicolons, inconsistent formatting, unreachable code, or missing return types.
How to Fix
- 1Run 'npx eslint .' locally to see the exact errors
- 2Run 'npx eslint . --fix' to auto-fix formatting issues
- 3For non-auto-fixable errors, read the rule name and fix manually
- 4If a rule is too strict, disable it in .eslintrc or add // eslint-disable-next-line for specific lines
Commands
# See all errors: npx eslint . # Auto-fix what's possible: npx eslint . --fix # Fix and show remaining: npx eslint . --fix-dry-run
Prevention
Use pre-commit hooks (husky + lint-staged) to catch lint errors before they're committed. Configure your editor to show ESLint errors in real-time. WarpFix auto-fixes lint violations in CI.
Related Errors
Automate This
WarpFix detects "ESLint found problems — X errors, Y warnings" automatically and opens a fix PR — before you even see the error.
WarpFix monitors your GitHub repos 24/7. When CI fails, it identifies the error, generates a fix, validates it in a sandbox, and opens a PR — automatically.
Install WarpFix — Free