You're correct in that there's not a way to do this right now. If you file
an issue, we can see about adding an option to allow this.

-N

On Fri, Dec 12, 2014 at 2:19 PM, Langdon Oliver <[email protected]> wrote:
>
> As long as I can remember, I've been totally OK with
> space-in-**brackets**, but not space-in-**braces**.
>
> I do my arrays like this:
>
>     var a = [1, 2, 3];
>         b = ['1', '2', '3'];
>
> And my objects like this:
>
>     var a = { a: 1, b: 2, c: 3 }
>         b = { a: [1, 2, 3] },
>         c = { a: [1, 2, 3], b: true }
>
> I can't seem to get the `space-in-braces` rule to honor this.  After
> reading the documentation, I assume it's not possible?  Am I the only one
> with strange desires like this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "ESLint" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>


-- 

______________________________
Nicholas C. Zakas
@slicknet

Author, Professional JavaScript for Web Developers
Buy it at Amazon.com:
http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to