prettier/tests
Justin Ridgewell c085aeb152 Fix closure compiler type casts (#5947)
* Fix closure compiler type casts

This fixes casts when they are followed by a closing parenthesis, eg:

```js
foo( /** @type {!Array} */(arrOrString).length );
```

The old code would see the `CallExpresion`'s closing `)` and assume the typecast belonged to the `MemberExpression`, not the `arrOrString` `Identifier`.

This would be easier to accomplish if every AST would tell us if the expression were parenthesized. If they did, we could check that the node were parenthesized and either it or an ancestor has a typecast, stopping when we find an ancestor is itself parenthesized.

* More tests, and changelog

* Fix while loop

* Update changelog

* Update CHANGELOG.unreleased.md

* Use babel's parenthesized information

* Cleanup call
2019-04-26 13:05:57 -04: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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
arrows Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
arrows_bind Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
async Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
big-int Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
binary-expressions test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
binary_math Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
bind_expressions Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
bracketSpacing test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
break-calls fix: do not format callbacks with arguments as React hooks (#5778) 2019-01-22 00:26:39 +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 Add parentheses for immediately-constructed fn/class (#5996) 2019-03-28 21:06:39 +03:00
classes_private_fields Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
comments Fix closure compiler type casts (#5947) 2019-04-26 13:05:57 -04:00
comments_closure_typecast Fix closure compiler type casts (#5947) 2019-04-26 13:05:57 -04:00
comments_jsx_same_line Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
comments_pipeline_own_line Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 fix(printer-postcss): ignore escape \ and escaped / in Less (#5597) 2018-12-17 08:28:48 +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 Fix formatting of lists in SCSS property/variable values (#5710) 2019-01-10 00:08:34 +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 fix(printer-postcss): ignore escape \ and escaped / in Less (#5597) 2018-12-17 08:28:48 +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 fix(printer-postcss): ignore escape \ and escaped / in Less (#5597) 2018-12-17 08:28:48 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
cursor_css test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
decorator_comments Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
decorators fix(javascript): add necessary parentheses for decorators (#5785) 2019-01-22 00:54:41 +08:00
decorators-ts test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
decorators_export Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
destructuring Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
directives Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
do Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
dynamic_import Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
empty Adds LWC Parser to support unquoted interop attributes (#5800) 2019-02-01 13:58:50 +08:00
empty_paren_comment Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
empty_statement test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
end_of_line Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
es6modules Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
exports Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
expression_statement Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
first_argument_expansion Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow Add parentheses for immediately-constructed fn/class (#5996) 2019-03-28 21:06:39 +03:00
flow_all feat: add babel-flow (#5685) 2018-12-29 21:35:47 +08:00
flow_annotation Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_comments Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_export Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_function_parentheses Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_generic Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_internal_slot Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_intersection Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_jsx Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_maybe Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_method Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_mixins Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_object_comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
flow_object_inexact Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_type_declarations Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_type_parameters Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_type_spread Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_typeapp_call Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_union Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
flow_variance Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
for test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
function Add parentheses for immediately-constructed fn/class (#5996) 2019-03-28 21:06:39 +03:00
function_first_param Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
function_single_destructuring test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
functional_composition fix(javascript): skip .connect() method when composing fun (#5739) 2019-01-10 12:20:15 -07: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_fragment_variables Teach prettier/graphql about formatting fragment variables. (#6016) 2019-04-04 09:44:52 -03: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 graphql: Support variable directives. (#6020) 2019-04-04 09:47:05 -03:00
handlebars test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_angular fix(angular): don't add unnecessary parentheses to pipes (#5929) 2019-03-13 09:02:36 +08:00
html_attributes feat(html): smart quote for attributes (#5590) 2018-12-05 11:15:09 +08:00
html_aurelia test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_basics feat(html): preserve surrounding linebreaks (#5596) 2018-12-11 12:43:53 +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 feat(html): update angular-html-parser (#5565) 2018-11-29 11:03:22 +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_lwc Adds LWC Parser to support unquoted interop attributes (#5800) 2019-02-01 13:58:50 +08:00
html_magic_comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_mjml test: update snapshots 2018-12-11 16:18:29 +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_script feat(html): format script with "application/ld+json" (#5642) 2018-12-16 16:21:10 +08:00
html_svg feat(html): preserve surrounding linebreaks (#5596) 2018-12-11 12:43:53 +08:00
html_symbol_entities test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
html_tags feat(html): preserve surrounding linebreaks (#5596) 2018-12-11 12:43:53 +08:00
html_vue fix(vue): tag names are case-sensitive (#5606) 2018-12-13 10:31:48 +08:00
html_whitespace fix(html): do not format non-normal whitespaces as normal whitespaces (#5797) 2019-01-30 14:30:10 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
insert-pragma Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
interface fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
intersection test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
js_empty Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
json test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx-attr-element Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx-do Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx-significant-space test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx-split-attrs Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx_fragment Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx_ignore Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx_last_line test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
jsx_namespace Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
jsx_spread Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
line_suffix_boundary Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
literal Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
literal-numeric-separator Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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_long_table feat(markdown): do not align table contents if it exceeds the print width and `--prose-wrap never` is set (#5701) 2019-01-30 12:24:21 -05: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 feat(markdown): do not align table contents if it exceeds the print width and `--prose-wrap never` is set (#5701) 2019-01-30 12:24:21 -05: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 fix(mdx): correctly recognize inline JSX (#5783) 2019-01-22 12:02:30 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
multiparser_js_graphql Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
multiparser_js_html fix(javascript): remove unnecessary linebreaks from html templates (#5771) 2019-01-20 11:15:18 +08:00
multiparser_js_markdown Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
no-semi-babylon-extensions Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
no-semi-typescript test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
non-strict Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
nullish_coalescing Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
object-prop-break-in Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
object_colon_bug test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
object_property_comment Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
objects Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
optional-type-name test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
optional_catch_binding Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
optional_chaining JavaScript: Fix parens logic for optional chaining expressions and closure type casts (#5843) 2019-02-11 13:33:56 -02:00
performance test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
pipeline_operator Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
preserve_line fix: respect newlines in parameters (#5836) 2019-04-04 09:50:07 -03:00
quote_props Add an option to modify when Prettier quotes object properties (#5934) 2019-03-06 20:33:08 +11:00
quote_props_typescript Add an option to modify when Prettier quotes object properties (#5934) 2019-03-06 20:33:08 +11:00
quotes fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
range Fix formatting with --range-start / --range-end (#5632) 2018-12-17 10:59:20 -02: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 Update example for *.vue (#5605) 2018-12-07 16:34:26 +01:00
regex Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
require test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
require-amd Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
require-pragma Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
rest Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
return test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
return-outside-function Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
sequence_break test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
shebang Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
spread Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
trailing_comma fix multiline dynamic import comments (#6025) 2019-04-02 12:35:03 -07: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: update typescript and typescript-estree to latest (#5728) 2019-01-12 11:10:52 +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_bigint fix(typescript): do not throw errors on bigint keyword (#5577) 2018-11-30 10:12:32 +08:00
typescript_cast feat(typescript): support TS 3.4 (#6027) 2019-04-04 15:32:54 +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 fix: respect newlines in parameters (#5836) 2019-04-04 09:50:07 -03: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_function_type fix(typescript): stable parens for function type in arrow return type (#5790) 2019-01-22 21:07:10 +08:00
typescript_generic Test generics in object methods in TypeScript (#5989) 2019-04-08 16:56:39 -03: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 feat(typescript): support TS 3.4 (#6027) 2019-04-04 15:32:54 +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 fix: update typescript and typescript-estree to latest (#5728) 2019-01-12 11:10:52 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +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 Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
.eslintrc.yml Convert eslint config and users/languages/editors files to YAML (#3516) 2017-12-18 21:55:10 +11:00