368 B
368 B
Don't force empty array and object with short comments to break (#18617 by @fisker)
// Input
const array = [/* comment */]
const object = {/* comment */}
// Prettier stable
const array = [
/* comment */
];
const object = {
/* comment */
};
// Prettier main
const array = [/* comment */];
const object = {/* comment */};