Skip to content

Update prettier dev-dependency to v2.5.1 in Tables#19579

Merged
JonathanCrd merged 2 commits intoAzure:mainfrom
JonathanCrd:Update-prettier-Tables
Jan 3, 2022
Merged

Update prettier dev-dependency to v2.5.1 in Tables#19579
JonathanCrd merged 2 commits intoAzure:mainfrom
JonathanCrd:Update-prettier-Tables

Conversation

@JonathanCrd
Copy link
Copy Markdown
Member

Solves: #9329 for packages under sdk/tables.

Updated prettier dev-dependency version to latest 2.5.1.
Files were re-formatted as well. There are only format changes in this PR, no manual changes except for upgrading the prettier version inside package.json files.

Another manual change was removing the path \"src/**/*.ts\" from both format and check-format scripts in projects inside perf-tests. This is because the perf-tests do not contain a src/ folder and that makes the scripts fail with an exit code 2.

Main format changes with Prettier 2.x in this PR include:

  • Trailing commas by default.
  • Whitespace added after every function keyword.

@JonathanCrd JonathanCrd self-assigned this Dec 28, 2021
@ghost ghost added the Tables label Dec 28, 2021
@JonathanCrd JonathanCrd marked this pull request as ready for review December 28, 2021 10:31
Copy link
Copy Markdown
Member

@joheredi joheredi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for sending this PR

@JonathanCrd JonathanCrd merged commit d0b55f1 into Azure:main Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants