Is there a way for Intellij to warn when commiting...
# intellij
k
Is there a way for Intellij to warn when commiting only specific TODOs? For example, I don't want it to complain on TODO and FIXME, but would like to stop the commit on NOCOMMIT tokens in the code? As far as I can see, either it checks for any possible TODO or none at all...
a
Looks like not possible now, please vote for the ticket
👍 1
e
You can solve it with Detekt's ForbiddenComment rule, and adding detekt as a pre-commit hook.
👍 1