Catch console.log before commiting with the pre-commit git hook
Add pre-commit file inside your hooks folder that lives inside the .git folder of your project.
Next time you add (or remove) a console.log you will be prompted on
you console with them.
You can choose if you want to abord or continue your commit.