![]() Based on https://github.com/prettier/prettier/pull/2676 * Thread `path` and `options` through helpers so we don't need to add `needsParens` onto the AST node anymore (mutation) * Pull test call detection logic out into helper method so it can be re-used for arrow function parens * Add arrow function parens option implementation (avoid/always) * Don't break arrow function parens around (done) in test call |
||
---|---|---|
.. | ||
__snapshots__ | ||
arrow_function_expression.js | ||
block_like.js | ||
call.js | ||
comment.js | ||
currying.js | ||
jsfmt.spec.js | ||
long-call-no-args.js | ||
long-contents.js | ||
parens.js | ||
short_body.js | ||
type_params.js |