$ npm install esformatter-remove-trailing-commas
esformatter plugin that removes trailing commas.
var foo = {
a: 1,
};
// converted to:
var foo = {
a: 1
};
With npm do:
$ npm i esformatter-remove-trailing-commas
esformatter config file:
{
"plugins": [
"esformatter-remove-trailing-commas"
]
}
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE