magicdawn / esformatter-curly

keep original curly fot import & one line object literal
MIT License
4 stars 2 forks source link

Curly import indentation should respect indentation option #2

Closed FrancisMurillo closed 8 years ago

FrancisMurillo commented 8 years ago

If I set my indent options as \t, the indentation for imports remain as two spaces . It works for object expressions but not for imports or am I missing some magic configuration?

Good work by the way.

magicdawn commented 8 years ago

I found out that a plugin should take care of the options too. https://github.com/millermedeiros/esformatter/blob/master/doc/plugins.md#setoptionsoptions

magicdawn commented 8 years ago

this should be fixed at v0.0.2 see https://github.com/magicdawn/esformatter-curly/tree/v0.0.2/examples/issue2

magicdawn commented 8 years ago

I'm closing this, if anything wrong, let me know.