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;
}