The Top Mistakes That Static Code Analyzers Can Help Avoid
Static code analyzers can deal with cyclomatic complexity. The cleaner and simpler a code the better. The more paths your code creates the more confusing it can be, which is why it is always a good idea to have something run through the complexity to avoid any confusion.
: JSLint, JSHint, and Closure Compiler.
Depending on the code you write and what you need to work best for you, choosing the right static code analyzer all depends on what you need. Some people prefer to have more than one running at a time to assure that all mistakes are covered. It is just up to you to decide which is best for your needs.