* Remove whitespace generation and rely on default printing Changes to printing: * Add newline after last empty SwitchCase * Add newlines around block comments if they are non-flow comments or contain newlines * Fix a few more fixtures
25 lines
321 B
JavaScript
25 lines
321 B
JavaScript
const test = {
|
|
foo: {
|
|
bar: {
|
|
baz: {
|
|
a: {
|
|
x: 1,
|
|
y: 2,
|
|
z: 3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
const {
|
|
foo: {
|
|
bar: {
|
|
baz: {
|
|
a: {
|
|
x
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} = test,
|
|
other = babelHelpers.objectWithoutProperties(test.foo.bar.baz.a, ["x"]); |