Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorators with multiple arrow function arguments are broken into multiple lines #6953

Closed
shayded-exe opened this issue Nov 14, 2019 · 10 comments · Fixed by #7138
Closed

Decorators with multiple arrow function arguments are broken into multiple lines #6953

shayded-exe opened this issue Nov 14, 2019 · 10 comments · Fixed by #7138
Labels
lang:javascript Issues affecting JS locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. status:needs discussion Issues needing discussion and a decision to be made before action can be taken

Comments

@shayded-exe
Copy link

shayded-exe commented Nov 14, 2019

Prettier 1.19.1
Playground link

--parser typescript
--print-width 100
--single-quote
--trailing-comma all

Input:

export class Item {
  @OneToOne(() => Thing, x => x.item)
  thing!: Thing;
}

Output:

export class Item {
  @OneToOne(
    () => Thing,
    x => x.item,
  )
  thing!: Thing;
}

Expected behavior:
Unchanged

export class Item {
  @OneToOne(() => Thing, x => x.item)
  thing!: Thing;
}

The new heuristic introduced in 1.9 to break up function chains for _.flow() or _.chain() is misinterpreting the decorator as one of those calls. Either we should have an option to change the line-breaking behavior, or decorators should be exempted from the heuristic.

@lydell lydell added lang:javascript Issues affecting JS status:needs discussion Issues needing discussion and a decision to be made before action can be taken labels Nov 14, 2019
@alexander-akait
Copy link
Member

decorators should be exempted from the heuristic

I disagree, why do you think so?

For me current output is better and readable

@brainkim
Copy link
Contributor

brainkim commented Nov 14, 2019

@PachowStudios Hi 👋, I’m the designated guy to yell at if you have issues with 1.19 call expressions. This is an expected knock-on effect of 1.19 change, where I think we agreed it’s usually good to place multiple function expressions on multiple lines.

Either we should have an option to change the line-breaking behavior

This is a tactic of last resort for prettier I think (https://prettier.io/docs/en/option-philosophy.html)

or decorators should be exempted from the heuristic

I see your point, having decorators split on multiple lines can make it less clear that what a decorator call is decorating.

I’m going back and looking through the issue, and I think I just decided to break call expressions with multiple function literals in them, because the main issue was about function literals sorta adding noise to single-line expressions, but maybe we can revert this behavior? As it turns out I also have code which was changed from:

    this.execution = execution.then(() => undefined, () => undefined);

to

    this.execution = execution.then(
      () => undefined,
      () => undefined,
    );

I can live with both versions and don‘t think it’s a big deal, but maybe this decorator call example is reason enough to revert to the previous behavior (just for function literals at the top level of the call expression, not for operator-like calls ( i.e. pipe(map((x) => x + 1), filter((x) => x % 2 === 0)) should still be split).

I do think that even in your code, the placement of function literals on the same line adds a bit of syntactical noise/overhead, and the line-break is appreciated, but I also see your point. I dunno.

@shayded-exe
Copy link
Author

@brainkim I appreciate the detailed response. I agree after looking at it for a bit, that my original example does benefit from being split. However, if you were to remove the third arg, then it definitely doesn't make sense to be split onto multiple lines. I've updated my original post to reflect this (your own example illustrates this as well).

I think your proposed solution of splitting the line when the arrow functions are one level nested in the expression seems like a good middle-ground.

@thorn0
Copy link
Member

thorn0 commented Nov 15, 2019

Sounds like two top-level arrow functions are readable without breaking the line, but if we have more of them, it's better to break. On the other hand, the arrow functions in your examples are very simple: x => x.item, () => undefined. But what if the return value contains a call?

@brainkim
Copy link
Contributor

brainkim commented Nov 15, 2019

I think, as the complexity of the functions increase (more arguments, more complex return value), splitting functions onto multiple lines becomes more valuable. But the only heuristic I’m comfortable with are ones which consider function literal count + line-length. I don’t know if refining it to read the complexity of the functions or that the call expression is a decorator call is a good idea. I’d much rather the behavior was consistent instead to prevent surprises.

Maybe we can tweak the title to be about function literals and call splits but leave this behavior open for a vote before deciding.

@thorn0
Copy link
Member

thorn0 commented Nov 15, 2019

I still think setting apart zero-argument and single-argument functions with one-word (whatever it means) return values might be an idea worth exploring. But better to collect more feedback with code samples first.

@JClackett
Copy link

JClackett commented Nov 26, 2019

Hmmm, since 1.19.2 my TypeOrm entities have become very bloated as result of the change... definitely prefer before, line count basically doubles all over the place and i find it much harder to read/follow otherwise i'd have to put lots of whitespace or comments between to break it up more,

I feel like decorator params or similar should be treated differently to the examples stated above, but that's just me 🤷‍♂

BEFORE

  @ManyToOne(() => User, user => user.deals)
  manager: User

  @OneToMany(() => Investment, investment => investment.deal)
  investments: Investment[]

  @OneToMany(() => Approval, approval => approval.deal, { onDelete: "CASCADE" })
  approvals: Approval[]

  @OneToMany(() => DealShare, dealShare => dealShare.deal, {
    onDelete: "CASCADE",
  })
  dealShares: DealShare[]

  @OneToMany( () => PopularDeal, deal => deal.platform, { onDelete: "CASCADE"})
  popularDeals: PopularDeal[]

AFTER

Everything is so narrow!? so much more room left on the line 😢

  @ManyToOne(
    () => User,
    user => user.deals,
  )
  manager: User

  @OneToMany(
    () => Investment,
    investment => investment.deal,
  )
  investments: Investment[]

  @OneToMany(
    () => Approval,
    approval => approval.deal,
    { onDelete: "CASCADE" },
  )
  approvals: Approval[]

  @OneToMany(
    () => DealShare,
    dealShare => dealShare.deal,
    {
      onDelete: "CASCADE",
    },
  )
  dealShares: DealShare[]

  @OneToMany(
    () => PopularDeal,
    deal => deal.platform,
    {
      onDelete: "CASCADE",
    },
  )
  popularDeals: PopularDeal[]

@brainkim
Copy link
Contributor

brainkim commented Dec 1, 2019

After looking at these examples, I think there’s sufficient motivation to revert the line-splitting behavior for top-level function literals. It was sorta tacked onto the functional composition logic anyways. I’ll try to do it this week. (Unless one of the maintainers disagrees that the second example is way worse)

@brainkim
Copy link
Contributor

brainkim commented Dec 6, 2019

These are the tests from the test suite which fail with a simple revert. Now I remember why we decided to add this top-level function logic, because it broke fewer tests, but the tests which break I’m either agnostic about, or they’re completely contrived examples which tested some edge case at some point. One possibility is that we could just disable the function composition logic for decorators, but part me thinks it might be better to just get rid of the logic for top-level function literals entirely? I dunno. Conflicted.

Summary of all failing tests
FAIL tests/decorators-ts/jsfmt.spec.js
  ● typeorm.ts

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "typeorm.ts 1".

    - Snapshot
    + Received

    @@ -42,13 +42,10 @@
        theme: string;

        @Column()
        description: string;

    -   @OneToMany(
    -     type => Topic,
    -     topic => topic.board
    -   )
    +   @OneToMany(type => Topic, topic => topic.board)
        topics: Topic[];
      }

      ================================================================================

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {

      at Object.test (tests_config/run_spec.js:90:9)

FAIL tests/typescript_arrow/jsfmt.spec.js
  ● arrow_regression.js

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "arrow_regression.js 1".

    - Snapshot
    + Received

    @@ -22,16 +22,11 @@
      =====================================output=====================================
      const bar = (...varargs: any[]) => {
        console.log(varargs);
      };

    - const foo = (x: string): void =>
    -   bar(
    -     x,
    -     () => {},
    -     () => {}
    -   );
    + const foo = (x: string): void => bar(x, () => {}, () => {});

      app.get("/", (req, res): void => {
        res.send("Hello world");
      });

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {


      at Object.test (tests_config/run_spec.js:90:9)

  ● arrow_regression.js

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "arrow_regression.js 2".

    - Snapshot
    + Received

    @@ -23,16 +23,11 @@
      =====================================output=====================================
      const bar = (...varargs: any[]) => {
        console.log(varargs)
      }

    - const foo = (x: string): void =>
    -   bar(
    -     x,
    -     () => {},
    -     () => {}
    -   )
    + const foo = (x: string): void => bar(x, () => {}, () => {})

      app.get("/", (req, res): void => {
        res.send("Hello world")
      })

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {


      at Object.test (tests_config/run_spec.js:90:9)

FAIL tests/functional_composition/jsfmt.spec.js
  ● lodash_flow.js

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "lodash_flow.js 1".

    - Snapshot
    + Received

    @@ -24,24 +24,16 @@
      bar(6);

      =====================================output=====================================
      import { flow } from "lodash";

    - const foo = flow(
    -   x => x + 1,
    -   x => x * 3,
    -   x => x - 6
    - );
    + const foo = flow(x => x + 1, x => x * 3, x => x - 6);

      foo(6);

      import * as _ from "lodash";

    - const bar = _.flow(
    -   x => x + 1,
    -   x => x * 3,
    -   x => x - 6
    - );
    + const bar = _.flow(x => x + 1, x => x * 3, x => x - 6);

      bar(6);

      ================================================================================

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {

      at Object.test (tests_config/run_spec.js:90:9)

  ● lodash_flow_right.js

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "lodash_flow_right.js 1".

    - Snapshot
    + Received

    @@ -24,24 +24,16 @@
      bar(6);

      =====================================output=====================================
      import { flowRight } from "lodash";

    - const foo = flowRight(
    -   x => x + 1,
    -   x => x * 3,
    -   x => x - 6
    - );
    + const foo = flowRight(x => x + 1, x => x * 3, x => x - 6);

      foo(6);

      import * as _ from "lodash";

    - const bar = _.flowRight(
    -   x => x + 1,
    -   x => x * 3,
    -   x => x - 6
    - );
    + const bar = _.flowRight(x => x + 1, x => x * 3, x => x - 6);

      bar(6);

      ================================================================================

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {

      at Object.test (tests_config/run_spec.js:90:9)

FAIL tests/arrows/jsfmt.spec.js
  ● parens.js

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "parens.js 1".

    - Snapshot
    + Received

    @@ -19,14 +19,11 @@
      foo(c, a => b)
      foo(c, a => b, d)
      foo(a => b, d)

      =====================================output=====================================
    - promise.then(
    -   result => result,
    -   err => err
    - );
    + promise.then(result => result, err => err);

      promise.then(
        result => {
          f();
          return result;

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {

      at Object.test (tests_config/run_spec.js:90:9)

  ● parens.js

    expect(value).toMatchSnapshot()

    Received value does not match stored snapshot "parens.js 2".

    - Snapshot
    + Received

    @@ -19,14 +19,11 @@
      foo(c, a => b)
      foo(c, a => b, d)
      foo(a => b, d)

      =====================================output=====================================
    - promise.then(
    -   (result) => result,
    -   (err) => err
    - );
    + promise.then((result) => result, (err) => err);

      promise.then(
        (result) => {
          f();
          return result;

      88 |           )
      89 |         )
    > 90 |       ).toMatchSnapshot();
         |         ^
      91 |     });
      92 |
      93 |     for (const parser of parsers.slice(1)) {

      at Object.test (tests_config/run_spec.js:90:9)


Snapshot Summary
 › 7 snapshots failed from 4 test suites. Inspect your code changes or run `yarn test -u` to update them.

Test Suites: 4 failed, 945 passed, 949 total
Tests:       7 failed, 6216 passed, 6223 total
Snapshots:   7 failed, 4848 passed, 4855 total
Time:        188.089s
Ran all test suites.
error Command failed with exit code 1.

What do y’all think? Also if you’d like to play with this yourself you can just do this haha:

diff --git a/src/language-js/utils.js b/src/language-js/utils.js
index 6fb301d5..25c8e5ca 100644
--- a/src/language-js/utils.js
+++ b/src/language-js/utils.js
@@ -849,21 +849,17 @@ function isFunctionCompositionArgs(args) {
   if (args.length <= 1) {
     return false;
   }
-  let count = 0;
+
   for (const arg of args) {
-    if (isFunctionOrArrowExpression(arg)) {
-      count += 1;
-      if (count > 1) {
-        return true;
-      }
-    } else if (isCallOrOptionalCallExpression(arg)) {
+    if (isCallOrOptionalCallExpression(arg)) {
       for (const childArg of arg.arguments) {
         if (isFunctionOrArrowExpression(childArg)) {
           return true;
         }
       }
     }
-  }
+  k
+
   return false;
 }

@shayded-exe
Copy link
Author

@brainkim the functionality is useful for it's intended purpose. My vote is to just disable it for decorators.

brainkim added a commit to brainkim/prettier that referenced this issue Dec 13, 2019
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Mar 17, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Mar 17, 2020
medikoo added a commit to medikoo/prettier-elastic that referenced this issue Sep 29, 2020
Merge branch 'master' of github.com:prettier/prettier into next

* 'master' of github.com:prettier/prettier: (43 commits)
  Update `postcss-less` to v2 (#6778)
  Show invalid config filename in error message (#6865)
  Change external links to https (#6874)
  Bump @babel/parser from 7.7.0 to 7.7.2 (#6862)
  Fix nullish coalescing parenthesis with mixed logical operators (#6863)
  Remove handlebars@4.4.5 requirement in yarn.lock (#6867)
  Update browerslist in yarn.lock (#6868)
  fix formatting of comments in flow enums (#6860)
  better formatting for AwaitExpression in CallExpression/MemberExpression (#6856)
  Bump @typescript-eslint/typescript-estree from 2.6.0 to 2.6.1 (#6805)
  test: issue #6283 (#6855)
  audit(critical): handlebars@4.4.5 in package resolutions (#6853)
  Flow enums (#6833)
  Add mongo as a VS Code supported language (#6848)
  Bump `eslint` from 6.5.1 to 6.6.0 (#6846)
  Upgrade flow-parser from 0.89 to 0.111 (#6830)
  Bump @babel/preset-react from 7.6.3 to 7.7.0 in /website (#6827)
  Bump typescript from 3.7.1-rc to 3.7.2 (#6832)
  Bump rollup from 1.26.0 to 1.26.3 (#6821)
  update Babel to 7.7.0 and enable error recovery (#6816)
  ...

Bump Prettier dependency to 1.19.1

Fix code block in changelog

Add missing headings to changelog

Fix bin permissions (#6902)

Run CI on the `next` branch
Merge remote-tracking branch 'upstream/master' into next

Merge remote-tracking branch 'upstream/master' into next

Update `fsevents` in yarn.lock (#6909)

Drop Node.js 4 test on CI (#6907)

refactoring: Babel's error recovery superseded option combinations (#6930)

Bump unified from 8.4.1 to 8.4.2 (#6927)

Bumps [unified](https://github.com/unifiedjs/unified) from 8.4.1 to 8.4.2.
- [Release notes](https://github.com/unifiedjs/unified/releases)
- [Changelog](https://github.com/unifiedjs/unified/blob/master/changelog.md)
- [Commits](https://github.com/unifiedjs/unified/compare/8.4.1...8.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump jest-watch-typeahead from 0.4.0 to 0.4.2 (#6923)

Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) from 0.4.0 to 0.4.2.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases)
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v0.4.0...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Merge branch 'master' of github.com:prettier/prettier into next

* 'master' of github.com:prettier/prettier: (31 commits)
  Bump jest-watch-typeahead from 0.4.0 to 0.4.2 (#6923)
  Bump unified from 8.4.1 to 8.4.2 (#6927)
  refactoring: Babel's error recovery superseded option combinations (#6930)
  Update `fsevents` in yarn.lock (#6909)
  Run CI on the `next` branch
  Fix bin permissions (#6902)
  Add missing headings to changelog
  Fix code block in changelog
  Bump Prettier dependency to 1.19.1
  Release 1.19.1
  Quick-fix for stdin being broken in 1.19.0 (#6894)
  Fix `since` version for `vueIndentScriptAndStyle` (#6897)
  Remove out-of-date comment
  fix formatting of union type as arrow function return type (#6896)
  Try to fix some code blocks in 1.19.0 blog post
  Blog post, changelog and docs for 1.19 (#6787)
  Bump Prettier dependency to 1.19.0
  Release 1.19.0
  prettier 1.19.0-beta.1
  deduplicate entries in yarn.lock - part 2 (#6884)
  ...

Merge branch 'next' of github.com:prettier/prettier into next

* 'next' of github.com:prettier/prettier:
  Drop Node.js 4 test on CI (#6907)

Remove typescript-etw from build (#6919)

Co-authored-by: Jed Fox <git@twopointzero.us>
SCSS: don't add extra comma after last comment in map (#6918)

TypeScript: Fix formatting of type operators as arrow function… (#6901)

Add the XML plugin to the docs (#6944)

Create SECURITY.md
Rename SECURITY.md to .github/SECURITY.md
Support string-to-package config in JSON schema: (#6941)

Prettier supports having just a string in the config file to use a
shared config from a package. Example:

    "@company/prettier-config"

But the JSON schema generated by running `node
scripts/generate-schema.js` did not include that possibility.

See https://github.com/SchemaStore/schemastore/pull/855 for more
information.
Update build scripts to target Node.js 10 (#6908)

Don't lowercase element names in CSS selectors (#6947)

Fixes #5788.
Merge branch 'master' of github.com:prettier/prettier into next

* 'master' of github.com:prettier/prettier:
  Don't lowercase element names in CSS selectors (#6947)
  Support string-to-package config in JSON schema: (#6941)
  Rename SECURITY.md to .github/SECURITY.md
  Create SECURITY.md
  Add the XML plugin to the docs (#6944)
  TypeScript: Fix formatting of type operators as arrow function… (#6901)
  SCSS: don't add extra comma after last comment in map (#6918)
  Remove typescript-etw from build (#6919)

Update `snapshot-diff` to v0.6.1 (#6955)

* update `snapshot-diff` to 0.6.1

* update snapshot

Disable trailingComma for Angular internal parser (#6912)

Style: use async functions (#6935)

fix: issue #6813 (Zero-based lists are broken) (#6852)

Fix MDX html parsing errors (#6949)

* Fix MDX html parsing errors

For MDX wrap JSX parsing in a fragment before sending it of to babel for
parsing and formatting. In MDX adjacent JSX tags are permitted in the
root.

An option sent to the babel parser omits printing the root fragment and
instead just prints its children.

Solves #6943

* an attempt to address JounQin's comments

* use <$>...</$> instead of <>...</>

* refactoring

fix: tests for empty type parameters in TS (#6960)

Merge branch 'master' into next
Bump react-dom from 16.11.0 to 16.12.0 in /website (#6958)

Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Fix a code example in docs (#6890)

Update stable docs

Bump react from 16.11.0 to 16.12.0 in /website (#6959)

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Remove `prettylint` (#6978)

Fix redundant parens around JSX inside NewExpressions (#6980)

Bump postcss-values-parser from 1.5.0 to 2.0.1 (#6804)

Bumps [postcss-values-parser](https://github.com/shellscape/postcss-values-parser) from 1.5.0 to 2.0.1.
- [Release notes](https://github.com/shellscape/postcss-values-parser/releases)
- [Commits](https://github.com/shellscape/postcss-values-parser/compare/v1.5.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Replace `indexOf` with `includes` (#6967)

* Replace `indexOf` with `includes`

* Add `unicorn/prefer-includes`

Fix `new` usage for builtin objects (#6968)

Enable `replace-array-includes-with-indexof` for all bundles (#6982)

Fix babel includes plugin (#6985)

Switch `rollup-plugin-json` to `@rollup/plugin-json` (#6987)

Fix handling comments in labeled statements (#6984)

Set `trailingComma` default value to `es5` (#6963)

* Set `trailingComma` default value to `es5`

* Update `options` documentation

* Update tests

* style

* fix js code style

* change options order

* update tests_integration snap

* disable es5 for __ng_interpolation

* fix angular tests

* fix scss test

* fix `css_trailing_comma` snap

* fix css_scss snapshot

Bump @typescript-eslint/typescript-estree from 2.6.1 to 2.7.0 (#6989)

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.7.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
fix: format JSX Fragment correctly, consider Fragment as block (#6398)

Bump flow-parser from 0.111.3 to 0.112.0 (#6990)

* Bump flow-parser from 0.111.3 to 0.112.0

Bumps [flow-parser](https://github.com/facebook/flow) from 0.111.3 to 0.112.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.111.3...v0.112.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* remove workaround for fixed issue

Bump eslint-config-prettier from 6.5.0 to 6.6.0 (#6991)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.5.0...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump execa from 3.2.0 to 3.3.0 (#6992)

Bumps [execa](https://github.com/sindresorhus/execa) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
[Security] Bump https-proxy-agent from 2.2.1 to 2.2.4 (#6999)

Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4. **This update includes security fixes.**
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Replace `trim{Left,Right}` with `trim{Start,End}` (#6994)

Bump eslint-config-prettier from 6.6.0 to 6.7.0 (#7003)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @angular/compiler from 8.2.13 to 8.2.14 (#7004)

Bumps [@angular/compiler](https://github.com/angular/angular) from 8.2.13 to 8.2.14.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/compare/8.2.13...8.2.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Update `jest` to v24 (#6954)

* Update `jest` to v24

* run test on linux and windows

* fix regexp for macOS

* fix color problem

* restore asserts

* update yarn.lock

* fix status assert

tests(handlebars): Move a test to handlebars folder (#6962)

This looks like a file left behind during a rebase. Let's move it to a
more logical location.
test: css-in-js (#7005)

refactoring: tokens requested from TS parser were immediately dismissed (#7008)

Bump @typescript-eslint/typescript-estree from 2.7.0 to 2.8.0 (#7017)

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.8.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Ignore test files (#7018)

Bump rollup from 1.26.3 to 1.27.2 (#7016)

Bumps [rollup](https://github.com/rollup/rollup) from 1.26.3 to 1.27.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.26.3...v1.27.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
preserve parentheses for JSDoc type casting with extra spaces a… (#7011)

Bump docusaurus from 1.14.0 to 1.14.1 in /website (#7023)

Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.0...v1.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
TypeScript: print JSDoc-only types (#7020)

* TypeScript: print JSDoc-only types

* add changelog

Bump rollup from 1.27.2 to 1.27.3 (#7025)

Bumps [rollup](https://github.com/rollup/rollup) from 1.27.2 to 1.27.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.2...v1.27.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
fix unstable formatting of logical expressions (#7026)

Bump docusaurus from 1.14.1 to 1.14.2 in /website (#7030)

Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.1...v1.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
fix formatting of logical and binary expressions in template literals (#7010)

Bump resolve from 1.12.0 to 1.12.2 (#7032)

Bumps [resolve](https://github.com/browserify/resolve) from 1.12.0 to 1.12.2.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.12.0...v1.12.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @babel/preset-env from 7.7.1 to 7.7.4 (#7035)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.1 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.1...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @babel/parser from 7.7.3 to 7.7.4 (#7034)

Bumps [@babel/parser](https://github.com/babel/babel) from 7.7.3 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.3...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump rollup from 1.27.3 to 1.27.5 (#7047)

Bumps [rollup](https://github.com/rollup/rollup) from 1.27.3 to 1.27.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.3...v1.27.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @babel/preset-env from 7.7.1 to 7.7.4 in /website (#7045)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.1 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.1...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @babel/preset-react from 7.7.0 to 7.7.4 in /website (#7044)

Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.7.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @typescript-eslint/typescript-estree from 2.8.0 to 2.9.0 (#7054)

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.9.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump execa from 3.3.0 to 3.4.0 (#7059)

Bumps [execa](https://github.com/sindresorhus/execa) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](https://github.com/sindresorhus/execa/compare/v3.3.0...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
[ImgBot] Optimize images (#7056)

Bump resolve from 1.12.2 to 1.13.1 (#7065)

Bumps [resolve](https://github.com/browserify/resolve) from 1.12.2 to 1.13.1.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.12.2...v1.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Fix a falling mustache issue (#7052)

* Add a test highlighting the falling mustache issue

* Use concat helper instead of manual concat

* Fix the falling mustache issue

* Add a CHANGELOG

Bump eslint-plugin-react from 7.16.0 to 7.17.0 (#7071)

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.16.0 to 7.17.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.16.0...v7.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
JavaScript: Format ThrowStatement like ReturnStatement (#7070)

Don't print trailing commas after rest elements in tuples (#7075)

Bump rollup from 1.27.5 to 1.27.8 (#7078)

Bumps [rollup](https://github.com/rollup/rollup) from 1.27.5 to 1.27.8.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.5...v1.27.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump docusaurus from 1.14.2 to 1.14.3 in /website (#7076)

Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.2...v1.14.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @typescript-eslint/typescript-estree from 2.9.0 to 2.10.0 (#7086)

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.10.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
fix indentation in ternaries nested in conditions of other ternaries (#7087)

* fix indentation in ternaries nested in conditions of other ternaries

* fix giant indent when tabWidth=4

* refactoring: remove breakNested as it was always true

* break between parens

* add changelog

* microfix

* fix TS conditional types

* Update pr-7087.md

Bump jest-junit from 9.0.0 to 10.0.0 (#7092)

Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](https://github.com/jest-community/jest-junit/compare/v9.0.0...v10.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump flow-parser from 0.112.0 to 0.113.0 (#7095)

* Bump flow-parser from 0.112.0 to 0.113.0

Bumps [flow-parser](https://github.com/facebook/flow) from 0.112.0 to 0.113.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.112.0...v0.113.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* remove unneeded workaround

TypeScript: remove extra indentation for arrow function on variable declaration with comment (#7094)

* Remove extra indent

* add changelog

* Fix postprocess for range of TypeScript

* Remove locend from postprocess

* Add test for no-smei

* Remove hasLeadingComment

Bump typescript from 3.7.2 to 3.7.3 (#7102)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.2 to 3.7.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.2...v3.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
fix(typescript): align printing of comments in function types w… (#7104)

* fix(typescript): align printing of comments in function types with Flow and Babel

* add changelog

* add tests for --no-semi

Bump @babel/preset-env from 7.7.4 to 7.7.6 in /website (#7112)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump terser-webpack-plugin from 2.2.1 to 2.2.2 (#7113)

Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
refactoring: introduce path.match (#7108)

Bump concurrently from 5.0.0 to 5.0.1 in /website (#7121)

Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
tests: "Expected" and "Received" are mixed up in parser verification tests (#7125)

Bump eslint-plugin-import from 2.18.2 to 2.19.1 (#7123)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.2 to 2.19.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.2...v2.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @typescript-eslint/typescript-estree from 2.10.0 to 2.11.0 (#7127)

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.11.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @babel/parser from 7.7.4 to 7.7.5 (#7134)

Bumps [@babel/parser](https://github.com/babel/babel) from 7.7.4 to 7.7.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump rollup from 1.27.8 to 1.27.12 (#7137)

Bumps [rollup](https://github.com/rollup/rollup) from 1.27.8 to 1.27.12.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.8...v1.27.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
revert function composition logic for decorators (#7138)

fixes #6953
Bump eslint-plugin-prettier from 3.1.1 to 3.1.2 (#7142)

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
JavaScript: Fix moving semi for `return` to end of line-comment (#7140)

* Modify to fix semi for return with comment

* Add complex test case

* Add null check

* Add changelog

Bump webpack from 4.41.2 to 4.41.3 in /website (#7145)

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump rollup from 1.27.12 to 1.27.13 (#7146)

Bumps [rollup](https://github.com/rollup/rollup) from 1.27.12 to 1.27.13.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.12...v1.27.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump concurrently from 5.0.1 to 5.0.2 in /website (#7149)

Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.0.1...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump @babel/preset-env from 7.7.6 to 7.7.7 in /website (#7158)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Optimize some usage of `Array#filter` (#6996)

Bump webpack from 4.41.3 to 4.41.4 in /website (#7164)

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.3 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.3...v4.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bump codemirror from 5.49.2 to 5.50.0 in /website (#7169)

Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.49.2 to 5.50.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.49.2...5.50.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Refactor a few functions in glimmer printer (#7072)

glimmer: Split ElementModifierStatement and MustacheStatement (#7156)

Fixed ALE installation instruction (#7166)

* Fixed ALE installation instruction

Since the author of the Vim plugin ALE moved the repository to an organization account, the command used to download the plugin has changed from `Plug 'w0rp/ale'` to `Plug 'dense-analysis/ale'`

* Fixed ALE urls

Fixed all ALE urls in this document

Bump webpack from 4.41.4 to 4.41.5 in /website (#7206)

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.4 to 4.41.5.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.4...v4.41.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
add test for ugly array key format (#7205)

Bump codemirror from 5.50.0 to 5.50.2 in /website (#7214)

Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.50.0 to 5.50.2.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.50.0...5.50.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
Markdown: fix HTML formatting broken if the beginning tag start… (#7181)

* fix markdown formatting broken if the beginning html tag starts after a list item

* add test for beginning-tag-after-a-list-item in markdown_html

* add changelog_unreleased of pr-7181

* fix test of ast breaking for beginning-tag-after-a-list-item

* update changelog_unreleased pr-7181

* fix changelog_unreleased

* fix beginning tag starts after a list item in markdown

* add test case for beginning-tag-after-a-list-item

* update changelog_unreleased

handlebars: Improve MustacheStatement printing (#7157)

* Address https://github.com/prettier/prettier/pull/7051#discussion_r351877770

* Add isParentOfType helper fun

* Add CHANGELOG

* Fix a typo

* CHANGELOG: Remove --print-width option

* Add tests

docs: Fix broken links (#7222)

fix: comments for typescript function like nodes (#7144)

* test: add test cases for method_types comments

* fix: improve handling comments withing typescript function like nodes

* fix: correct position of trailing comments in TSMethodSignature

* fix: allow to use comments on TSAbstractMethodDefinition and fix TSDeclareFunction

* refactor: move real function node type check to function

* refactor: invert if in handleTSFunctionTrailingComments

* refactor: move isRealFunctionLikeNode into end of file

* chore: add changelog

* chore: update changelog

* chore: update changelog

* make changelog more concise

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

GraphQL: Support repeatable directive definition printing (clos… (#7227)

Fixes : #5915 HTML comments in pre tags causes bad formatting o… (#5959)

Fix adding unnecessary colons on Mapped Types (#7221)

* fix #7174 by checking typeAnnotation existance

* add changelog for pr-7174

* fix typo

* revert mappedType test in conformance/

* add new directory and tests

* fix missing a line

* Update changelog_unreleased/typescript/pr-7174.md

Co-Authored-By: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Markdown: fix PR 7181 broke HTML blocks inside list items (#7220)

* fix PR 7181 broke HTML blocks inside list items

* add test for indented html after list item

* add changelog_unreleased for pr-7220

* update changelog of pr-7181

* fix pointed out

handlebars: Fix superfluous line breaks in ConcatStatement (#7051)

Merge branch 'next' of github.com:prettier/prettier into next

* 'next' of github.com:prettier/prettier:
  Optimize some usage of `Array#filter` (#6996)
  Update `jest` to v24 (#6954)
  Replace `trim{Left,Right}` with `trim{Start,End}` (#6994)
  Set `trailingComma` default value to `es5` (#6963)
  Fix `new` usage for builtin objects (#6968)
  Replace `indexOf` with `includes` (#6967)
  fix: tests for empty type parameters in TS (#6960)
  Fix MDX html parsing errors (#6949)
  fix: issue #6813 (Zero-based lists are broken) (#6852)
  Style: use async functions (#6935)
  Disable trailingComma for Angular internal parser (#6912)
  Update `snapshot-diff` to v0.6.1 (#6955)
  Update build scripts to target Node.js 10 (#6908)

Merge with master

Fix printing both index signatures without type annotations and… (#7228)

markdown: fix redundant leading spaces in markdown list (#7178)

* fix rebundant leading spaces in markdown list

* add test for rebundant leading spaces in markdown_list

* add changelog_unreleased file of pr-7178

* Update changelog_unreleased/markdown/pr-7178.md

Co-Authored-By: Sosuke Suzuki <aosukeke@gmail.com>

* Update changelog_unreleased/markdown/pr-7178.md

Co-Authored-By: Sosuke Suzuki <aosukeke@gmail.com>

* fix minor issues

Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Vue: format sfc jsx (#7180)

* Modify to enable to format vue jsx sfc

* add changelog

* Modify to avoid cspell checking, "sfcs" -> "SFC"

fix snapshots

fix build: remove reference to replace-array-includes-with-indexof

Merge remote-tracking branch 'remotes/upstream/master' into next

fix snapshots

add netlify.toml to override the node version on netlify

Update linguist-languages to support file extensions `.cjs` and `.yaml.sed` (#7210)

* Update linguist-language

* Add changelog

use lodash/* instead of lodash.* (#7235)

Scss: fix scss variable string concatenation removing spaces (#7211)

change version to 2.0.0-dev in package.json

Merge branch 'master' into next
remove code for old Node from jest config

fix yarn.lock, add version resolutions for glimmer

See https://github.com/prettier/prettier/pull/6570 re glimmer

fix snapshots after merge

Remove the beta label from the plugin docs (#5594)

Update `cosmiconfig` to v6 (#6850)

* Update `cosmiconfig` to v6

* fix changes required

* style

* replace parentModule logic

* fix build script

* fix import-fresh

* fix rebase consequences

* remove babel-plugin-transform-async-to-promises

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Bump @babel/core from 7.7.2 to 7.7.7

method chain breaking heuristic (#6685)

* examples from various issues about method chaining

this commit includes no prettier functionality changes, so that diffs will be easily visible.

specifically:

* https://github.com/prettier/prettier/issues/4125
* https://github.com/prettier/prettier/pull/4765
* https://github.com/prettier/prettier/issues/1565
* https://github.com/prettier/prettier/issues/3107

* add heuristic for breaking method chains

* fix: remove unnecessary escape characters

* initial non-regex isSimple implementation

* handle babel literal types properly

found here: https://github.com/babel/babel/blob/fe258dec047f473fb5a35172b2ff8cb172051dec/packages/babel-parser/ast/spec.md

* template literal + test

* use !every instead of some(!)

* fix: some test cases

* fix: object expressions and some more simple node types

* some test cases showing need for depth check

* depth check

* update test to test thing it's supposed to test

* optional expressions

* test case for missing isSimple depth

* fix isSimple depth bug

* fix: comment check

* test for ts non-null operator

* make object properties behave similarly to arrays

* isSimple -> isSimpleCallArgument; move to utils; add unaries

* add Import to the list of simple things

* only short regexps to be considered simple (<= 5 chars)

* add changelog entry in the new format

* update snapshots

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Add a Netlify badge to the footer (#7289)

* Add a Netlify badge to the footer

* Change badge as suggested by @vjeux

Fix #5959 changlog (#7294)

Update `rollup` related deps (#7254)

Add `cspell` as `devDependencies` (#7299)

Update `eslint` to v6.8.0 (#7249)

Run `lint-docs` on changelogs (#7253)

Use shorthand bin (#7264)

Update `semver` to v7 (#7256)

Bump flow-parser from 0.113.0 to 0.116.0 (#7286)

Bumps [flow-parser](https://github.com/facebook/flow) from 0.113.0 to 0.116.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.113.0...v0.116.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Add tests for `sharedUtil.getMaxContinuousCount` (#7262)

Update `strip-ansi` to v6 (#7257)

Update `codemirror-graphql` to v0.11.6 (#7298)

Bump @babel/preset-env from 7.7.7 to 7.8.2 in /website (#7291)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.7 to 7.8.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump docusaurus from 1.14.3 to 1.14.4 in /website (#7290)

Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.3 to 1.14.4.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.3...v1.14.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump terser-webpack-plugin from 2.2.2 to 2.3.2 (#7284)

Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.2 to 2.3.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.2...v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump eslint-plugin-import from 2.19.1 to 2.20.0 (#7281)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.19.1...v2.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Update `string-width` to v4.2.0 (#7258)

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Fix: don't throw on broken html (#7293)

Switch `rollup-plugin-commonjs` to `@rollup/plugin-commonjs` (#7247)

Update `eslint-plugin-unicorn` to v15 (#7250)

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Bump @babel/parser from 7.7.5 to 7.8.0 (#7279)

Bumps [@babel/parser](https://github.com/babel/babel) from 7.7.5 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @babel/preset-react from 7.7.4 to 7.8.0 in /website (#7277)

Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.7.4 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump webpack from 4.41.2 to 4.41.5 (#7319)

Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.5.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Add `.editorconfig` (#7252)

Fix quote style, enable `quote` rule (#7304)

Move `doc` directory to `document` (#7272)

Update `@babel/code-frame` to v7.8.0 (#7307)

Style: enable `dot-notation` (#7323)

Style: enable `object-shorthand` (#7322)

Update `rollup-plugin-terser` to v5.2.0 (#7308)

* Update `rollup-plugin-terser` to v5.2.0

* Trigger CI

start using object spread syntax (#7242)

Bump typescript from 3.7.3 to 3.7.4 (#7310)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.3 to 3.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.3...v3.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Simplify `arrayify` (#7266)

Style: enable `prefer-spread` (#7270)

Bump @babel/preset-env from 7.8.2 to 7.8.3 in /website (#7309)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.2 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.2...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @babel/preset-react from 7.8.0 to 7.8.3 in /website (#7311)

Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @babel/parser from 7.8.0 to 7.8.3 (#7314)

Bumps [@babel/parser](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
using object spread for `createLanguage` (#7268)

Style: enable `eqeqeq` (#7324)

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Style: use object destructuring (#7325)

* Style: use object destructuring

* Update versions.js

* Update sync-flow-tests.js

* Update core.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Merge branch 'master' into next

Bump @typescript-eslint/typescript-estree from 2.11.0 to 2.16.0 (#7317)

* Bump @typescript-eslint/typescript-estree from 2.11.0 to 2.16.0

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.11.0 to 2.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.16.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* stub path.isAbsolute

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Fix `yarn.lock` for next (#7341)

Remove an old fix for Node 4 (#7328)

Tiny refactor `comment.js` (#7331)

Add cli executable test (#7300)

Update `escape-string-regexp` to v2 (#7340)

Bump @babel/preset-env from 7.7.4 to 7.8.3 (#7345)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump eslint-config-prettier from 6.7.0 to 6.9.0 (#7344)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.7.0 to 6.9.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/commits/v6.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump diff from 4.0.1 to 4.0.2 (#7343)

Bumps [diff](https://github.com/kpdecker/jsdiff) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/kpdecker/jsdiff/releases)
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Update `execa` to v4 (#7261)

Fix `prefer-object-spread` in `/website` (#7338)

Use array destructuring for some simple case (#7330)

* Use array destructuring for some simple case

* Revert [0]

Add changelog lint script (#7320)

* Add changelog lint script

* Refactor lint script

* spell

* Fix indent

* fix templateComment

* add H4 check

* Add category in title check

* use array destructuring

* Add space check

Update overrides.css (#7348)

* Update overrides.css

* Update overrides.css

* Update index.js

* Update overrides.css

Bump resolve from 1.13.1 to 1.14.2 (#7315)

Bumps [resolve](https://github.com/browserify/resolve) from 1.13.1 to 1.14.2.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.13.1...v1.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Simplify `getSupportInfo` (#7269)

Run lock check on CI (#7342)

Fix: remove unnecessary parens when yielding jsx (#7367)

* support YieldExpression inside jsx

* add test cases

* add changelog for pr-7367

* fix changelog file name

Fix `prefer-object-spread` in `src/main` (#7357)

Fix `prefer-object-spread` in `src/common` (#7355)

Update `tempy` to v0.3.0 (#7363)

angular: fix i18n attr with @@ (#7371)

* angular: fix i18n attr with @@

* changelog

Update `snapshot-diff` to v0.6.2 (#7364)

Add tests for #2091 (#7368)

Add test for typed constructor (#7377)

Closes https://github.com/prettier/prettier/issues/4111
Merge branch 'master' into next

Bump typescript from 3.7.4 to 3.7.5 (#7385)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.4 to 3.7.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.4...v3.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Switch `parse-srcset` to `srcset` (#7381)

Bump flow-parser from 0.116.0 to 0.116.1 (#7383)

Bumps [flow-parser](https://github.com/facebook/flow) from 0.116.0 to 0.116.1.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.116.0...v0.116.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Fix some `String#repeat` (#7335)

Add missing snapshot (#7378)

Bump eslint-plugin-react from 7.17.0 to 7.18.0 (#7366)

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Update `get-stream` to v5 (#7362)

Fix `prefer-object-spread` in `src/language-js` (part 4) (#7361)

Fix `prefer-object-spread` in `src/language-js` (part 1) (#7358)

Fix `prefer-object-spread` in `src/language-js` (part 2) (#7359)

Fix `prefer-object-spread` in `src/document` (#7353)

Fix `prefer-object-spread` in `src/language-js` (part 3) (#7360)

Fix `prefer-object-spread` in `/src/cli` (#7356)

Fix `prefer-object-spread` in `src/language-html` (#7352)

Fix `prefer-object-spread` in `src/language-css` (#7351)

Fix `prefer-object-spread` for `src/language-yaml` (#7349)

Fix `prefer-object-spread` in `/tests*` (#7337)

Fix `prefer-object-spread` in `src/language-markdown` (#7350)

Switch `rollup-plugin-node-resolve` to `@rollup/plugin-node-resolve` (#7248)

Fix `prefer-object-spread` in `src/config` (#7354)

handlebars: Add prettier-ignore (#7275)

Tiny refactor (#7334)

Fix error throws on unclosed tag in `pre` (#7392)

Fix `prefer-object-spread` in `/scripts` (#7336)

Move React ESLint rules to "/website" (#7332)

Use `lodash/partition` (#7265)

RFC: Always add a space after the `function` keyword (#3903)

* Always add a space after the `function` keyword

* WIP update snapshots

* WIP put generator function asterisk before space

https://github.com/prettier/prettier/issues/3847#issuecomment-363449250

* WIP update snapshots

* Add changelog

* Add tests for anonymouse generator function

* print space between `function` and generator star

* update changelog

* print space between yield and *

Co-authored-by: Joseph Frazier <1212jtraceur@gmail.com>
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

HTML: don't treat colons as namespace prefix delimiters in tag names (#7273)

Enable eslint rule `prefer-object-spread` (#7398)

chore(doc-printer): Fixed minor typo (#7347)

Fix srcset parse error (#7295)

* Fix srcset parse

* Don't swallow error

* fix srcset parse

* Add changelog

* Update case

* Fix quote style

* Make input ugly

Add title to the `/en/users/` page (#7379)

Support printing inline handlebars in html (through embed function) (#7306)

* Move old handlebars to html file

This kind of handlebars code is supposed to be in html files.

* Remove useless file

* Uglify our old handlebars file

* Move venerable hbs tests to their folder

Because of their config

* html: Use glimmer for script tags of type handlebars

* Record snapshots

* Add CHANGELOG entry

* Add the CHANGELOG test

* Make the PR changes more obvious

Bump rollup from 1.29.0 to 1.29.1 (#7405)

Bumps [rollup](https://github.com/rollup/rollup) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.29.0...v1.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @typescript-eslint/typescript-estree from 2.11.0 to 2.17.0 (#7406)

Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.11.0 to 2.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.17.0/packages/typescript-estree)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump codemirror from 5.50.2 to 5.51.0 in /website (#7404)

Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.50.2 to 5.51.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.50.2...5.51.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Upgrade Node.js version and drop mkdirp (#7302)

GraphQL: improve detection of separator between interfaces (#7305)

fix object literal checks in isSimpleCallArgument (#7403)

website: remove `eslint-disable` in landing.js (#7329)

Bump rollup from 1.29.0 to 1.29.1 (#7410)

Bumps [rollup](https://github.com/rollup/rollup) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.29.0...v1.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump eslint-plugin-react from 7.17.0 to 7.18.0 (#7414)

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump flow-parser from 0.116.0 to 0.116.1 (#7413)

Bumps [flow-parser](https://github.com/facebook/flow) from 0.116.0 to 0.116.1.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.116.0...v0.116.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump typescript from 3.7.4 to 3.7.5 (#7412)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.4 to 3.7.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.4...v3.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump jest-docblock from 24.9.0 to 25.1.0 (#7411)

Bumps [jest-docblock](https://github.com/facebook/jest/tree/HEAD/packages/jest-docblock) from 24.9.0 to 25.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v25.1.0/packages/jest-docblock)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Merge branch 'master' into next

Update `chalk` to v3 (#7259)

* Update `chalk` to v3

* Shim `tty`

* add tty to EXTERNALS in bundler.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Bump jest from 24.9.0 to 25.1.0 (#7415)

Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 25.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v25.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Simplify `getLast` (#7267)

fix tests on Windows: drive letter case returned by process.cwd() depends on environment (#7409)

Enable ESLint `prefer-rest-params` rule (#7400)

Use BOM string instead of BOM charCode (#7420)

* Use BOM string instead of BOM charCode

* Trigger CI

Bump resolve from 1.14.2 to 1.15.0 (#7422)

Bumps [resolve](https://github.com/browserify/resolve) from 1.14.2 to 1.15.0.
- [Release notes](https://github.com/browserify/resolve/releases)
- [Commits](https://github.com/browserify/resolve/compare/v1.14.2...v1.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump codecov from 3.6.1 to 3.6.2 (#7421)

Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.6.1...v3.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Enable `unicorn/prefer-string-slice` (#7251)

website: add Tidelift enterprise language (#7424)

[docs] Add Tidelift to cspell.json

Fix typo (#7425)

Clarify API docs (#7402)

* Clarify API docs

It is not immediately obvious how to set the language (parser), hopefully this will save others time.

* improve wording

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Bump html-tag-names from 1.1.4 to 1.1.5 (#7426)

Bumps [html-tag-names](https://github.com/wooorm/html-tag-names) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/wooorm/html-tag-names/releases)
- [Commits](https://github.com/wooorm/html-tag-names/compare/1.1.4...1.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Setup github actions (#7321)

Bump rollup from 1.29.1 to 1.30.1 (#7454)

Bumps [rollup](https://github.com/rollup/rollup) from 1.29.1 to 1.30.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.29.1...v1.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump cspell from 4.0.44 to 4.0.46 (#7445)

Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.44 to 4.0.46.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.44...cspell@4.0.46)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump concurrently from 5.0.2 to 5.1.0 in /website (#7451)

Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.0.2...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump flow-parser from 0.116.1 to 0.117.0 (#7450)

Bumps [flow-parser](https://github.com/facebook/flow) from 0.116.1 to 0.117.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.116.1...v0.117.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump graphql from 14.5.8 to 14.6.0 (#7449)

Bumps [graphql](https://github.com/graphql/graphql-js) from 14.5.8 to 14.6.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.5.8...v14.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Minor tweak (#7440)

* Simplify `isExportDeclaration`

* move `isExportDeclaration` and `getParentExportDeclaration` to `language-js/utils.js`

Simplify `createUsage` (#7439)

* Simplify `createUsage`

* restore some change

Document changes in 6963 (#7441)

* Document 6963

* Minor tweaks

* Minor edit

* Add a note on the changed default value in options.md to keep things in sync

Update `mem` to v6 (#7260)

* Style: use async for `editorconfigAsyncNoCache`

* Update `mem` to v6

* Fix usage of `mem`

* Fix: add `await`

* Use JSON.stringify

Bump rimraf from 3.0.0 to 3.0.1 (#7453)

Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump @glimmer/syntax from 0.41.0 to 0.47.0 (#7443)

* Bump @glimmer/syntax from 0.41.0 to 0.47.0

Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.41.0 to 0.47.0.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.41.0...v0.47.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix build script

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

Change `endOfLine` to `lf` by default for 2.0 (#7435)

* Towards changing default value for endOfLine

* Update tests and snapshots

* Add placeholder for changelog_unreleased

* Add CHANGELOG

* Undo adding snapshot tests for auto as it does not play well on Windows in CI

* Tweak changelog

* Update jest snapshot

Bump @glimmer/syntax from 0.41.0 to 0.47.1 (#7448)

Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.41.0 to 0.47.1.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.41.0...v0.47.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Update babel target (#7418)

Bump cross-env from 6.0.3 to 7.0.0 (#7446)

Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v6.0.3...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump html-element-attributes from 2.2.0 to 2.2.1 (#7444)

Bumps [html-element-attributes](https://github.com/wooorm/html-element-attributes) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/wooorm/html-element-attributes/releases)
- [Commits](https://github.com/wooorm/html-element-attributes/compare/2.2.0...2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bump terser-webpack-plugin from 2.3.2 to 2.3.3 (#7462)

Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.2...v2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Always set parser bundle target to `universal` (#7455)

* Always set parser bundle target to `universal`

* Allow override

Bump angular-html-parser from 1.3.0 to 1.4.0 (#7461)

* Bump angular-html-parser from 1.3.0 to 1.4.0

Bumps [angular-html-parser](https://github.com/ikatyang/angular-html-parser) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/ikatyang/angular-html-parser/releases)
- [Changelog](https://github.com/ikatyang/angular-html-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ikatyang/angular-html-parser/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* add test for #5810

closes #5810

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Remove useless argument in `editorconfig` load function (#7459)

Change `arrowParens` to `always` by default for 2.0 (#7430)

Merge branch 'master' of github.com:prettier/prettier into next

* 'master' of github.com:prettier/prettier:
  Clarify API docs (#7402)
  Fix typo (#7425)
  [docs] Add Tidelift to cspell.json
  website: add Tidelift enterprise language (#7424)
  Use BOM str…
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lang:javascript Issues affecting JS locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. status:needs discussion Issues needing discussion and a decision to be made before action can be taken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants