function addError(entity) {
            errors.add(
                'Use of else after return',
                entity
            );
        }
Requires to return early in a function.

Types: `Boolean`

Values:
 - `true`: disallow to use of else if the corresponding `if` block contain a return.

#### Example

```js
"requireEarlyReturn": true
```

##### Valid

```js
function test() {
    if (x) {
        return x;
    }
    return y;
}
```

##### Invalid

```js
function test() {
    if (x) {
        return x;
    } else {
        return y;
    }
}
```