-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test to make sure we don't miss any console.logs in tests #88
Comments
I'm not sure I follow, the Are you thinking of some sort of JSHint/JSCS check for |
Yeah, that should work. |
For a project I work on, we use a script to be run on the git pre-commit hook, so that it won't allow you to commit if there are debugging statements still present in the code. The hook installs itself via an NPM postinstall. Here's a gist that might be useful: https://gist.github.com/CITguy/1138a1701b9ffbf4e091 |
@CITguy looks pretty nice, thanks for sharing! I'll see if I can work something out. |
We talked about using Gulp and running all our tests and linting through it, and I figured we can check for stray We just need to make sure it doesn't abort the tests while developing something. I'll work something out tonight. |
👍 |
No description provided.
The text was updated successfully, but these errors were encountered: