Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 238 Bytes

File metadata and controls

13 lines (10 loc) · 238 Bytes

Add parens around assignments in object literal properties (#9484 by @fisker)

// Input
foo = { bar: (a = b) };

// Prettier stable
foo = { bar: a = b };

// Prettier master
foo = { bar: (a = b) };