millermedeiros / esformatter

ECMAScript code beautifier/formatter
MIT License
970 stars 91 forks source link

Add whitespace configuration options for object destructuring #469

Open kidkuro opened 7 years ago

kidkuro commented 7 years ago

Formatting:

const { a, b } = x;

always results in:

const {a, b} = x;

There are no configuration options for whitespace before or after destructuring closing or opening braces.