-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[EngSys] fix formatting #36773
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
[EngSys] fix formatting #36773
Conversation
There are some improvements in prettier v3.7 but it brings differences comparing to v3.6. This PR fixes formatting checks by applying the result of `turbo run format` for the whole repo, after our weekly automation upgrades prettier to v3.7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR applies automatic formatting changes from Prettier v3.7 across the Azure SDK for JavaScript repository. The changes are purely cosmetic, adjusting code formatting to comply with the newer version of Prettier that was upgraded by the weekly automation.
The primary change pattern involves reformatting TypeScript interface declarations, particularly how extends clauses are formatted across multiple lines. Prettier v3.7 appears to have different line-breaking rules compared to v3.6, resulting in more compact formatting for shorter declarations and different indentation for longer ones.
Reviewed changes
Copilot reviewed 238 out of 242 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
Multiple options.ts files |
Interface declarations with extends OperationOptions reformatted to single lines |
| Multiple model files | Interface extends clauses reformatted for better readability |
| Test setup files | ProvidedContext interface extends Omit<> reformatted with new line breaks |
| Identity credential files | Credential options interfaces reformatted with new indentation |
| Various TypeScript files | Boolean expressions and import statements reformatted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the merged commit still needs a ***NO_CI*** text, PR LGTM
|
/check-enforcer override |
The CI would populate the turbo build cache. But it's not a big deal as next CI would do that too. |
There are some improvements in prettier v3.7 but it brings differences
comparing to v3.6.
This PR fixes formatting checks by applying the result of
turbo run formatforthe whole repo, after our weekly automation upgrades prettier to v3.7.
NO_CI