Prettier 1.7.1
Playground link
Input:
let thing = {
foo: "foo",
bar: "bar",
baz: "baz",
qux: "qux",
abc: "abc",
def: "def",
ghi: "ghi"
};
test("it ...", function(assert) {
let thing = {
foo: "foo",
bar: "bar",
baz: "baz",
qux: "qux",
abc: "abc",
def: "def",
ghi: "ghi"
};
});
Output:
let thing = {
foo: "foo",
bar: "bar",
baz: "baz",
qux: "qux",
abc: "abc",
def: "def",
ghi: "ghi"
};
test("it ...", function(assert) {
let thing = { foo: "foo", bar: "bar", baz: "baz", qux: "qux", abc: "abc", def: "def", ghi: "ghi" };
});
Expected behavior:
Formatting for the object should be consistent.
This is the same as #2909, #2910 and #2915
@duailibe Sorry, I didn't search correctly. I'll close this issue in favor of #2909
Just released 1.7.2 where this is fixed. Sorry about that!