-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Formatting files that use object 'shorthand' notation will result in weird object spacing.
For instance,
var foo = 0;
var object = {
foo,
bar: 1,
baz: 2
};will format to
var foo = 0;
var object = {
foo,
bar: 1,
baz: 2
};where the 'baz' property (and all further properties) will have one additional level of indent. Commenting out the 'foo' property or not using shorthand will produce expected results, so
var foo = 0;
var object = {
foo: foo,
bar: 1,
baz: 2
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels