Files
test-repo/tests/trailing_comma/object.js
T
Christopher Chedeau b4f1649d1a Fix spurious whitespace (#463)
This was introduced by #314 where `line` should have been `softline`. By the way, I was going to propose renaming `line` to `line_or_space` and `softline` to `line_or_nothing` which should make it more explicit what is going on.

Fixes #461
2017-01-25 16:24:16 -05:00

22 lines
339 B
JavaScript

const a = {
b: true,
c: {
c1: 'hello'
},
d: false
};
const aLong = {
bHasALongName: 'a-long-value',
cHasALongName: {
c1: 'a-really-long-value',
c2: 'a-really-really-long-value',
},
dHasALongName: 'a-long-value-too'
};
const aLong = {
dHasALongName: 'a-long-value-too',
eHasABooleanExpression: a === a,
};