First draft proposal for a cyclomatic complexity ESLint rule
Fixing style issues discovered while npm testing
Reporting function complexity on function:after and using array push/pop to handle nesting
Corrected unused arguments
Check that the return statement has an argument before checking its type
Merge pull request #128 from captainbrosset/complexity

Cyclomatic complexity rule
Merge pull request #113 from iancmyers/rule-no-label-var

Created no-label-var rule.
Merge pull request #142 from jamesallardice/fix-no-return-assign

Bug fix: no-return-assign rule
Rule: no-ternary

The `no-ternary` rule disallows the use of ternary operators, as some people believe they reduce code clarity. When the `no-ternary` rule is enabled the following patterns are considered warnings:

var foo = isBar ? baz : qux;

foo ? bar() : baz();

function quux() {
  return foo ? bar : baz;
}
Fix formatting.