nzakas/eslint — pull request #448 by iancmyers (2013-12-11 23:46:10+00:00)
Title: Fixed reported line number for trailing comma error

The `no-comma-dangle` rule previously reported the ArrayExpression or ObjectExpression node when finding a tailing comma. As a result the rule would report the incorrect line for the error.

For example, in the code below, line 1 would be reported as having a trailing comma when line 3 is the true culprit!

```js
var obj = {
prop: "val",
anotherProp: "val",
};
```

This fix reports the Punctuator node instead, thus fixing the reported line number.