Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

esformatter-curly

magicdawn41MIT0.0.2

keep original curly fot import & one line object literal

esformatter, format, curly

readme

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';
  2. 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

changelog

CHANGELOG

v0.0.2 2016-08-22

  • add setOptions for plugin entry, repect the indent value, see #2

v0.0.1 2016-05-20

  • first release