Skip to content

Bump prettier from 2.8.3 to 2.8.4 in /webapp

Dependabot requested to merge dependabot-npm_and_yarn-webapp-prettier-2.8.4 into master

Bumps prettier from 2.8.3 to 2.8.4.

Release notes

Sourced from prettier's releases.

2.8.4

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.8.4

diff

Fix leading comments in mapped types with readonly (#13427 by @​thorn0, @​sosukesuzuki)

// Input
type Type = {
  // comment
  readonly [key in Foo];
};
// Prettier 2.8.3
type Type = {
readonly // comment
[key in Foo];
};
// Prettier 2.8.4
type Type = {
// comment
readonly [key in Foo];
};

Group params in opening block statements (#14067 by @​jamescdavis)

This is a follow-up to #13930 to establish wrapping consistency between opening block statements and else blocks by grouping params in opening blocks. This causes params to break to a new line together and not be split across lines unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the same as opening blocks.

{{! Input }}
{{#block param param param param param param param param param param as |blockParam|}}
  Hello
{{else block param param param param param param param param param param as |blockParam|}}
  There
{{/block}}
{{! Prettier 2.8.3 }}
{{#block
param
param
param
param
param
</tr></table>

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading