See https://github.com/pimterry/git-confirm, which does exactly this for TODOs, or for anything else you can spot with a regex (ignored tests, git conflict markers, etc etc). All in a single bash script you can curl directly into place, so it's independent of Node/Ruby/etc.
that was the whole idea behind building this :) automate code audit and checks via git hooks
Build it! Ill test it. :)
cool ! let me know what you think
Email in my profile
I just built one, would you mind having a look at it?