prettier/tests
Christopher Chedeau 516f5900d8 Stabilize import as comments (#855)
Since this is extremely rare, I just took the easy way out and if you are adding a comment inside the "as" node, I just move it outside. We could be more fancy but that works.

Fixes #620
2017-03-02 22:22:33 -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 Put short body of arrow functions on the same line (#829) 2017-02-27 17:18:43 -05:00
assignment_comments Preserve new lines for comments after `=` (#830) 2017-02-28 10:00:28 -05: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_comment Migrate class comments to the beginning (#831) 2017-02-28 11:23:15 -05: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 Fix comment after the last argument of a function (#856) 2017-03-02 22:17:22 -05: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 Do not break require calls (#841) 2017-03-02 22:21:02 -05: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 Stabilize import as comments (#855) 2017-03-02 22:22:33 -05:00
interface Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx [JSX] Don't wrap JSX Elements in parentheses if they are inside JSX Expression Containers (#845) 2017-03-01 12:05:57 -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 re-run snapshot tests 2017-03-01 09:11:54 -08:00
jsx-split-attrs Upgrade to Jest 19 (#762) 2017-02-21 13:59:19 -08:00
jsx-stateless-arrow-fn Fix indentation of a merged group (#828) 2017-02-28 10:55:32 -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 Allow breaking for logical expressions in member chains (#827) 2017-02-28 09:31:04 -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
require Do not break require calls (#841) 2017-03-02 22:21:02 -05: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