Skip to content

keep original curly fot import & one line object literal

License

Notifications You must be signed in to change notification settings

magicdawn/esformatter-curly

Repository files navigation

esformatter-curly

keep original curly fot import & one line object literal

Build Status Coverage Status npm version npm downloads npm license

Install

npm i esformatter --save-dev
npm i esformatter-curly --save-dev

Usage

for detail see notes

  1. keep multiline import
import {
  x,
  y
} from 'utils';
  1. keep short object literal inline
var o1 = { x: 1, y: 2 };
var o2 = {
  x: 2,
  y: 3
};

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

About

keep original curly fot import & one line object literal

Resources

License

Stars

Watchers

Forks

Packages

No packages published