Lint Until Clean
Automatically iterates through lint error detection and resolution until the codebase passes linting with zero issues. This loop ensures code quality and con…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Lint Until Clean" loop.
Goal: Remove all lint errors from the codebase
Max iterations: 10
Between iterations run: npm run lint
Exit when: Zero lint issues reported
Please run 'npm run lint' to check for errors. For each file with lint issues, make targeted fixes to resolve them. After each round of fixes, re-run the lint command to verify progress. Continue this process until either all lint errors are resolved or you've completed 10 iterations, whichever comes first.
Self-pace this loop. After each iteration, run `npm run lint` and evaluate the output, and only continue if the exit condition is not met (Zero lint issues reported). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.