esformatter plugin that converts array and object constructors to literal notations
var foo = new Array();
// converted to:
var foo = [];
var bar = new Object();
// converted to:
var bar = {};
With npm do:
$ npm install esformatter-literal-notation
esformatter config file:
{
"plugins": [
"esformatter-literal-notation"
]
}
MIT