function canSkip(token) {
            var node = token.parentElement;
            if (node.getNewlineCount() === 0) {
                return true;
            }

            // exception for function params
            if (
                node.params &&
                file.isOnTheSameLine(node.params[0], node.params[node.params.length - 1])
            ) {
                return true;
            }

            // See #1841
            if (!exceptFunction || !node.properties) {
                return false;
            }

            return node.properties.some(function(property) {
                return property.value.type === 'FunctionExpression';
            });
        }
Disallows commas as last token on a line in lists.

Type: `Boolean`, `Object`

Values:
 - `true` for default behavior (strict mode, comma on the same line)
 - `Object`:
   - `'allExcept'` array of exceptions:
      - `'function'` ignores objects if one of their values is a function expression

JSHint: [`laxcomma`](http://www.jshint.com/docs/options/#laxcomma)

#### Example

```js
"disallowCommaBeforeLineBreak": true
```

##### Valid for `true`

```js
var x = {
    one: 1
    , two: 2
};
var y = {three: 3, four: 4};
```

##### Invalid

```js
var x = {
    one: 1,
    two: 2
};
```

##### Valid for `{"allExcept": ["function"]}`

```js
var x = {
    one: 1,
    two: function() {}
};
```