Reformats this for no reason
nickretallack opened this issue · 1 comments
nickretallack commented
Input:
// @flow
const f = x => ({a: 'a', b: 'b'}[x]);
Output:
const f = (x) =>
({
a: 'a',
b: 'b',
}[x]);
With --no-prettier
:
const f = x => ({
a: 'a',
b: 'b'
})[x];
It could have left that line alone.
nickretallack commented
Sorry, filed this issue on the wrong repo.