Disallows an extra comma following the final element of an array or object literal.
Type: Boolean
Value: true
JSHint: es3
"disallowTrailingComma": true
var foo = [1, 2, 3];
var bar = {a: "a", b: "b"}
const [1, 2, 3];
const {a: "a", b: "b"}
var foo = [1, 2, 3, ];
var bar = {a: "a", b: "b", }