Skip to content

Bump prettier from 2.8.4 to 2.8.5 in /webapp

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

Bumps prettier from 2.8.4 to 2.8.5.

Release notes

Sourced from prettier's releases.

2.8.5

  • Support TypeScript 5.0

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.8.5

diff

Support TypeScript 5.0 (#14391 by @​fisker, #13819 by @​fisker, @​sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

  • const modifiers for type parameters
  • export type * declarations

Add missing parentheses for decorator (#14393 by @​fisker)

// Input
class Person {
  @(myDecoratorArray[0])
  greet() {}
}
// Prettier 2.8.4
class Person {
@myDecoratorArray[0]
greet() {}
}
// Prettier 2.8.5
class Person {
@(myDecoratorArray[0])
greet() {}
}

Add parentheses for TypeofTypeAnnotation to improve readability (#14458 by @​fisker)

// Input
type A = (typeof node.children)[];
// Prettier 2.8.4
type A = typeof node.children[];
// Prettier 2.8.5
type A = (typeof node.children)[];

Support max_line_length=off when parsing .editorconfig (#14516 by @​josephfrazier)

... (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