Context
no-todos currently checks the whole content of files being committed.
Idea
It would be nice to have a flag (even as default?) to check only the modified lines, not the whole file. Thus, modifications to a file which contains a TODO in an unrelated part still could be committed without exlcuding the hook.
Context
no-todoscurrently checks the whole content of files being committed.Idea
It would be nice to have a flag (even as default?) to check only the modified lines, not the whole file. Thus, modifications to a file which contains a TODO in an unrelated part still could be committed without exlcuding the hook.