Ratchet
Our legacy codebase already has over forty warnings—we cannot clear them all in one day, but I want a rule so the count can only go down and never climb back up.
You can say this to an AI Agent
Ready to paste into Cursor, Claude Code, or CodexAdd a ratchet check for ESLint warnings in this repo: record the current warning count in a baseline file and compare against it in our check script—fail the run if warnings rise above the baseline, and prompt or update the baseline downward when warnings drop so the count only goes down. Demonstrate both a blocked increase and a passing lowered baseline afterward.
