gulp-trailing-comma
gulp-trailing-comma is a Gulp extension to remove extra trailing comma in js sources.
Since IE 6 and IE 7 complains about trailing commas by simply refusing to execute code.
It uses esprima
for parsing js source file.
usage
var removeComma = ; gulp
before
var object = a : 'a' b : 'b' c : 'c'
after
var object = a : 'a' b : 'b' c : 'c'
License
MIT