millermedeiros / esformatter-flow

esformatter plugin: enforces coding style for Flow type annotations
MIT License
3 stars 1 forks source link

indent.value is not respected #1

Open ckknight opened 8 years ago

ckknight commented 8 years ago

For multi-line declared types, despite indent.value being set to

"    "

in .esformatter, it forces the type object to be indented with only 2 spaces.

Input:

type Bag = {
    alpha: number,
    bravo: string
};

Expected:

type Bag = {
    alpha: number,
    bravo: string
};

Actual:

type Bag = {
  alpha: number,
  bravo: string
};
millermedeiros commented 8 years ago

sorry for the long delay.. for some weird reason I was not "watching" this project.

will need to fix https://github.com/millermedeiros/rocambole-indent/issues/7 first!