eslint/eslint — pull request #1593 by iancmyers (2014-12-20 07:26:35+00:00)
Title: brace-style stroustrup should report on cuddled elseif

The `brace-style` rule with the `"stroustrup"` option on was failing to report cuddled `elseif`s because of a check to make sure the `alternate` type was `BlockStatement`. For `elseif`s, the `alternate` type is `IfStatement`.

```
if (foo) {
baz();
} else if (bar) {
baz();
}
else {
qux();
}
```

The above code will now report correctly.

Fixes #1583