function getNodeName(node) {
    if (node.type === 'Identifier') {
        return node.name;
    } else {
        return node.value;
    }
}
Require unassigned functions to be named inline

Types: `Boolean` or `Object`

Values:
 - `true`
 - `Object`:
    - `allExcept`: array of quoted identifiers

#### Example

```js
"requireNamedUnassignedFunctions": { "allExcept": ["describe", "it"] }
```

##### Valid

```js
[].forEach(function x() {});
var y = function() {};
function z() {}
it(function () {});
```

##### Invalid

```js
[].forEach(function () {});
before(function () {});
```