Hi, there,
I'm finding rule which can enforce new line after brace in object literal.
Is there such a rule bans code like following?
// considered warnings
var x = {a: 1,
b: 2,
c: 3};
// not considered warnings
var x = {
a: 1,
b: 2,
c: 3
};
var y = {a: 1, b: 2, c: 3};
Thanks.
--
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.