Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

esformatter plugin that converts array and object constructors to literal notations

License

Notifications You must be signed in to change notification settings

kewah/esformatter-literal-notation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esformatter-literal-notation Build Status

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 = {};

Install

With npm do:

$ npm install esformatter-literal-notation

Usage

esformatter config file:

{
  "plugins": [
    "esformatter-literal-notation"
  ]
}

License

MIT

About

esformatter plugin that converts array and object constructors to literal notations

Resources

License

Stars

Watchers

Forks

Packages

No packages published