prettier-plugin-coffeescript
prettier-plugin-coffeescript copied to clipboard
Parenthesizing of ?= should match that of =
This:
Object.assign token.data ?= {}, data
is formatted like the source, while this:
Object.assign token.data = {}, data
is formatted like
Object.assign (token.data = {}), data
Seems like they should be identically formatted wrt parenthesizing
Looks like I intentionally special-cased non-= assignments eg ?=, so maybe just leave as-is?