function getFirstStatement(node) {
    if (node && node.type === 'BlockStatement') {
        return node.body[0];
    }
    return node;
}
Requires newline before single if statements

Type: `Boolean`

Value: `true`

#### Example

```js
"requireNewlineBeforeSingleStatementsInIf": true
```

##### Valid

```js
if (x)
   doX();

if (x)
   doX();
else
   doY();

if (x)
   doX();
else if (v)
   doV();
else
   doY();
```

##### Invalid

```js
if (x) doX();

if (x) doX();
else doY();

if (x) doX();
else if (v) doV();
else doY();
```