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.

Reply via email to