function isPreviousTokenAComment(token) {
    var prevToken = token.getPreviousNonWhitespaceToken();
    return (prevToken.type === 'CommentLine' || prevToken.type === 'CommentBlock');
}
Disallows placing keywords on a new line.

Types: `Array`

Values:

- `Array` specifies quoted keywords which are disallowed from being placed on a new line

#### Example

```js
"disallowKeywordsOnNewLine": ["else"]
```

##### Valid

```js
if (x < 0) {
    x++;
} else {
    x--;
}
```
```js
if (x < 0)
    x++;
else
    x--;
```
```js
if (x < 0) {
    x++;
}
// comments
else {
    x--;
}
```
```js
do {
    x++;
} while(x < 0);
```
```js
do
    x++;
while(x < 0);
```
```js
do {
    x++;
}
// comments
while(x < 0);
```

##### Invalid

```js
if (x < 0) {
    x++;
}
else {
    x--;
}
```