Not yet but this is being discussed here: https://github.com/eslint/eslint/issues/2668
On Mon, Aug 31, 2015 at 9:56 PM Szymon Nowak <[email protected]> wrote: > I've got key-spacing rule defined as: > > "key-spacing": [2, { > "beforeColon": false, > "afterColon": true, > "align": "value" > }] > > This is ok: > > const foo = { > foo: 1, > bar: () => {}, > qwerty: "qwerty", > }; > > but this causes linter errors about extra space before value for keys > "foo" and "bar": > > const foo = { > foo: 1, > bar: () => { > }, > qwerty: "qwerty", > }; > > Is there some option to make the second example correct as well? > > -- > 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. > -- 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.
