-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Depcheck is busted #11
Comments
Hey, This is esprima telling you that there is an invalid RegExp in your code. I'm not sure if depcheck should catch this kind of errors, it's not its job to do so. Or maybe just say that it cannot parse the code ? |
I submitted pull request #12 that will fix the code to catch the error Esprima is throwing so depcheck won't fail. |
After some investigation I've determined that depcheck is breaking because of a file in bower_components. Depcheck shouldn't look in places like that. Could you possibly add some kind of blacklisting or whitelisting option? Thanks again for a really cool tool. |
Aaaaand done, you can update depcheck on npm. |
The text was updated successfully, but these errors were encountered: