prettier/tests
Christopher Chedeau 0af81c7695
Improve union types with leading comments (#5575)
We're running into this issue at Facebook because `// flowfixme` ignores the very next line, but in this case an empty line is added in-between which breaks the fixme.

Ideally the solution is to avoid adding a newline and we'd call it a day. Unfortunately it is tricky to implement in this particular case. The comment is already printed, including its \n. Yet, we want to indent the block and the only way to convince the doc printer to do so is to add an indent group --before-- the \n is printed, otherwise it's just going to indent on the next \n.

So this PR changes the output from one bad way to another, but the new way has the benefit of not breaking flow for Facebook, which makes our internal teams happier.

Note that the way we print the same construct with `&` is broken in the same way as with this PR. https://prettier.io/playground/#N4Igxg9gdgLgprEAuc0DOMAEBbAngNQEMAbAVzkwF5MAKME4+4xhpl5tmgDgHYA2LgE5+g3gP5CRY6cL6iJE2fL4BKJAB0ombTt17tAegOYAwhGzYEMTftu7oFAGSYYAdwjOYACwBOTzABWACYA1gAeXgBmxCFowVEA5jEBaEGJyV6pIdEBCZkhQQGJIcQpXkGRCSFFWaWRXlWlaOWVwZElCUUlAZgqANwgADQgEAAOMACW6MighD4+EK4ACnMIaMgghABuEBNBQyAARj6EYCFwMADKo6cTUAnIMD7kw14w2MQA6l4T8Gg3YDglzWvwmW1+uA2YDQ62GdzQcB8MCWJwS2EIyEiJARwxSYQAQiczhdLoRLAAZO5wTHYuC4tBhS53JJwACKpAg8BpxBxIBuPgRPg2h0Ih1wxGgB1GPjuME+e28yC4AAZhtKIAjPidRhtpXBBVtqcM-ABHUgTPwowhojFILE8ukgBHYCaPZ6OtDM4hsjlcu204YwUXyoKKpAAJkDJwmxGZZgstpAUAcB1ICIAKqL1v6HQBfXNAA

Fixes #5572
2018-11-28 10:30:51 -08:00
..
angular_component_examples test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
angular_interpolation test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
array_spread test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
arrays test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
arrow-call test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
arrows test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
arrows_bind test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
assignment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
assignment_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
assignment_expression test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
async test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
big-int feat(typescript): support BigInt (#5546) 2018-11-27 16:53:34 +08:00
binary-expressions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
binary_math test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
bind_expressions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
bracketSpacing test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
break-calls test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
class_comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
class_extends test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
classes test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
classes_private_fields test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
comments_jsx_same_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
comments_pipeline_own_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
computed_props test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
conditional test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_atrule test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_attribute test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_atword test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_bom test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_case test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_character_escaping test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_colon test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_color test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_combinator test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_composes test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_empty test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_fill_value test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_grid test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_important test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_indent test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_inline_url test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_less test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_long_rule test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_loose Enable loose mode for postcss-values-parser (#1766) 2017-05-27 11:15:05 -07:00
css_modules test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_numbers test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_params test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_parens test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_postcss_plugins test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_prefix test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_pseudo_call test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_quotes test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_scss test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_selector_call test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_selector_list test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_selector_string test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_trailing_comma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_variables test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
css_yaml test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
cursor test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
cursor_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
decorator_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
decorators test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
decorators-ts test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
decorators_export test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
destructuring test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
directives test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
do test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
dynamic_import test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
empty test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
empty_paren_comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
empty_statement test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
end_of_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
end_of_line_in_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
end_of_line_in_markdown test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
es6modules test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
exact_object test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
export test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
export_default test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
export_extension test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
exports test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
expression_statement test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
first_argument_expansion test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_annotation test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_array_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_array_union test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_class_field test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_export test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_function_parentheses test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_generic test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_implements test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_import_type_specifier test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_interface_types test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_internal_slot test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_intersection test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_jsx test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_maybe test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_method test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_mixins test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_object_comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_object_inexact test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_object_order test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_proto_props test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_return_arrow test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_type_cast test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_type_declarations test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_type_parameters test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_type_spread test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_typeapp_call test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_union Improve union types with leading comments (#5575) 2018-11-28 10:30:51 -08:00
flow_variance test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
for test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
function test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
function_first_param test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
function_single_destructuring test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
functional_composition test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
glimmer test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_arguments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_bracket_spacing test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_definitions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_directive_decl test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_directives test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_enum test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_fields test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_fragments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_hello test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_interface test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_kitchen_sink test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_lists test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_newline test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_object_type_def test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_objects test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_scalar test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_schema test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_string test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_trailing_comma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_union_types test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
graphql_variable_definitions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
handlebars test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_angular fix(ng,vue): do not normalize attribute names (#5549) 2018-11-26 12:09:19 +08:00
html_attributes test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_aurelia test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_basics test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_case test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_cdata test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_doctype_declarations test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_interpolation test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_js test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_magic_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_next_empty_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_prettier_ignore test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_svg test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_symbol_entities test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_tags test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_vue test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_whitespace test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_yaml test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
if test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
ignore test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
import test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
import_meta test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
import_then test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
insert-pragma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
interface test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
intersection test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
js_empty test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
json test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-attr-element test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-do test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-fbt test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-multiline-assign test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-newlines test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-significant-space test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-split-attrs test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-stateless-arrow-fn test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-text-wrap test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-whitespace test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_escape test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_fragment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_ignore test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_last_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_namespace test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_spread test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_template test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
label test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
last_argument_expansion test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
line_suffix_boundary test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
literal test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
literal-numeric-separator test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_blockquote test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_break test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_code test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_definition test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_delete test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_emphasis test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_footnote test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_footnoteDefinition test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_footnoteReference test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_heading test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_html test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_ignore test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_image test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_imageReference test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_indentation test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_inlineCode test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_jsx_semi test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_link test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_linkReference test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_liquid test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_list test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_math test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_paragraph test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_spec test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_splitCjkText test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_strong test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_table test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_thematicBreak test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_toml test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_word test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
markdown_yaml test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
mdx test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
member test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
method-chain test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_html_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_html_js test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_html_markdown test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_html_ts test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_js_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_js_graphql test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_js_html test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_js_markdown test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_markdown_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_markdown_js test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_markdown_json test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_text test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
multiparser_vue test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
new_expression test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
newline test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
no-semi test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
no-semi-babylon-extensions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
no-semi-typescript test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
non-strict test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
nullish_coalescing test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
object-prop-break-in test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
object_colon_bug test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
object_property_comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
objects test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
optional-type-name test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
optional_catch_binding test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
optional_chaining test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
performance test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
pipeline_operator test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
preserve_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
quotes test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
range test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
range_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
range_graphql test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
range_json test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
range_vue test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
regex test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
require test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
require-amd test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
require-pragma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
rest test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
return test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
return-outside-function test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
sequence_break test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
shebang test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
spread test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
strings test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
stylefmt test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
switch test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
tabWith test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
template test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
template_align test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
template_literals test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
ternaries test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
test_declarations test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
throw_expressions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
trailing_comma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
trailing_whitespace test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
try test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript fix(typescript): do not change `module` into `namespace` and break/hug their body correctly (#5551) 2018-11-26 13:34:35 +08:00
typescript_ambient test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_array test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_arrow test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_as test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_cast test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_class test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_conditional_types test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_declare test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_decorators test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_definite test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_destructuring test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_enum test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_export test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_import_require test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_import_type test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_index_signature test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_interface test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_keyof test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_keywords fix(typescript): do not change `module` into `namespace` and break/hug their body correctly (#5551) 2018-11-26 13:34:35 +08:00
typescript_method test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_module fix(typescript): do not change `module` into `namespace` and break/hug their body correctly (#5551) 2018-11-26 13:34:35 +08:00
typescript_never test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_new test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_non_null test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_nosemi test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_optional_type test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_readonly test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_rest test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_rest_type test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_semi test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_symbol test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_trailing_comma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_tsx test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_tuple test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_typeparams test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_union test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_unique_symbol test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
typescript_unknown test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
unary test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
unary_expression test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
unicode test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
union_intersection test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
update_expression test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
variable_declarator test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
while test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
with test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_alias test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_block_folded test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_block_literal test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_directive test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_document test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_flow_mapping test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_flow_sequence test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_insert_pragma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_mapping test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_plain test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_prettier_ignore test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_quote test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_require_pragma test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_root test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_sequence test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yaml_spec test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
yield test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
.eslintrc.yml Convert eslint config and users/languages/editors files to YAML (#3516) 2017-12-18 21:55:10 +11:00