nzakas/eslint — pull request #135 by iancmyers (2013-07-26 05:16:28+00:00)
Title: 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:

```js
var foo = isBar ? baz : qux;

foo ? bar() : baz();

function quux() {
return foo ? bar : baz;
}
```