prettier/tests
Christopher Chedeau 08b8a5f2e7 Do not put parenthesis around not named default export (#819)
We need to add parenthesis around function expressions if they are named otherwise the name leak, but if the function is not named then it's just superfluous.

The conditional change is due to a bad use of switch case where it would fall through the next one. We don't want parenthesis there.
2017-02-27 16:46:17 -05:00
..
array_spread Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
arrays Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
arrows Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
async Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
binary-expressions [RFC] Add parenthesis around && inside of || (#780) 2017-02-23 09:27:00 -08:00
bracketSpacing Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
break-calls Fix function call args (#809) 2017-02-25 09:56:13 -08:00
class_extends Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
classes Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
comments Update flow to 0.40 (#808) 2017-02-24 15:46:20 -08:00
computed_props Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
conditional Do not put parenthesis around not named default export (#819) 2017-02-27 16:46:17 -05:00
decorators Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
directives Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
do Properly support `do` (#811) 2017-02-27 10:49:08 -05:00
dynamic_import Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
empty_statement Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
es6modules Do not put parenthesis around not named default export (#819) 2017-02-27 16:46:17 -05:00
export Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
export_default Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
export_extension Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
exports Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
expression_statement Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
flow Fix function call args (#809) 2017-02-25 09:56:13 -08:00
flow_comments Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
flow_method Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
for Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
function Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
if_comments Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
ignore Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
import Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
interface Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx-multiline-assign Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx-newlines Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx-significant-space Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx-split-attrs Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx-stateless-arrow-fn Add `this` for Member factory whitelist and remove softline (#782) 2017-02-23 09:41:44 -05:00
jsx_escape Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx_last_line Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
label Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
last_argument_expansion Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
line Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
line_suffix_boundary Introduce line-suffix-boundary (#750) 2017-02-23 09:26:26 -08:00
literal Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
member Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
method-chain Group [0] at the end of the previous chain instead of beginning of next one (#784) 2017-02-23 07:34:52 -08:00
new_expression Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
object-prop-break-in Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
object_colon_bug Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
objects Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
optional-type-name Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
preserve_line Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
quotes Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
rest Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
shebang Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
strings Eagerly evaluate `ifBreak` when processing template literals (fixes #795) (#798) 2017-02-23 21:21:13 -08:00
switch Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
tabWith Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
template Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
ternaries Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
trailing_comma Do not put trailing commas for function declaration in es5 mode (#791) 2017-02-23 09:01:19 -08:00
trailing_whitespace Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
try Do not expand empty catch (#783) 2017-02-23 07:29:05 -08:00
unary Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
unary_expression Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
unicode Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
union_intersection Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
update_expression Fix extra parens for update expressions (#796) 2017-02-23 11:54:06 -08:00
while Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
windows Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
yield Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00