Hacker News new | ask | show | jobs
by teaearlgraycold 132 days ago
Without extra shenanigans if you have an unstaged file that fails your test suite then pre-commit will reject your commit even if the staged files are error free.
1 comments

Our stuff is configured to only run on staged files.