Detect unused AMD dependencies
Is there any tool that can analyze my files for unused AMD modules so that
I can clean up my code if I remove a previously used dependency?
I know to a certain degree jshint can do this with the unused option, but
setting it to true ignores unused deps followed by a used one. As well as
it does not actually analyze the deps array, just the function arguments.
Also setting it to strict isn't really practical for other parts of my
code as I need that.
No comments:
Post a Comment