Why the rule complexity is off by default?
In practice, it's not a very useful metric.
Why is not useful?, in teory could evoid complexity, not?
For me, more better metric and more quality code you will get if you combine:
max-params, max-statements, max-statements-per-line, max-nested-callbacks and max-depth.
Don't know how complexity is actually implemented, but above rules are more fine grained and leads you to great code.
In almost my whole life i didn't needed more than 15 statements and 5 nested-callbacks/max-depth - there is always a way to refactor and extract, except some rare scenarios.
@yeion7 that's the theory. In practice, it doesn't really help.
Most helpful comment
In practice, it's not a very useful metric.