esformatter-curly
v0.0.2
Published
keep original curly fot import & one line object literal
Downloads
28
Readme
esformatter-curly
keep original curly fot import & one line object literal
Install
npm i esformatter --save-dev
npm i esformatter-curly --save-dev
Usage
for detail see notes
- keep multiline import
import {
x,
y
} from 'utils';
- keep short object literal inline
var o1 = { x: 1, y: 2 };
var o2 = {
x: 2,
y: 3
};
Changelog
License
the MIT License http://magicdawn.mit-license.org