Skip to content

Apply current Prettier formatting#7997

Merged
achamayou merged 1 commit into
mainfrom
copilot/formatting-updates-fixes
Jun 29, 2026
Merged

Apply current Prettier formatting#7997
achamayou merged 1 commit into
mainfrom
copilot/formatting-updates-fixes

Conversation

Copilot AI commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Running formatting on main exposed drift from the unpinned Prettier version used by scripts/prettier-checks.sh. The drift starts with Prettier 3.9.x.

  • Formatting updates

    • Applied current Prettier output to affected JS/TS files.
    • No logic changes.
  • Tool update finding

    • scripts/prettier-checks.sh installs latest prettier and @typespec/prettier-plugin-typespec.
    • Current resolution: Prettier 3.9.1, TypeSpec plugin 1.13.0.
    • Prettier 3.8.5 keeps the previous formatting; Prettier 3.9.0+ produces this diff.

Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
@achamayou achamayou marked this pull request as ready for review June 28, 2026 09:55
@achamayou achamayou requested a review from a team as a code owner June 28, 2026 09:55
Copilot AI review requested due to automatic review settings June 28, 2026 09:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates several JS/TS sources to match the formatting produced by the current (unpinned) Prettier version used by scripts/prettier-checks.sh, addressing formatting drift introduced with Prettier 3.9.x.

Changes:

  • Reformat a TypeScript union type in the npm app crypto endpoints file.
  • Reformat a multi-line negated conditional in two sample constitution/action scripts.

Custom instructions used:

  • .github/copilot-instructions.md
  • .github/instructions/reviewing.instructions.md

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/npm-app/src/endpoints/crypto.ts Prettier-only reflow of a union type definition.
samples/minimal_ccf/app/actions.js Prettier-only reflow of a negated conditional in checkReconfigurationType.
samples/constitutions/default/actions.js Same conditional reflow as minimal sample, kept in sync with current formatting.

@mergify

mergify Bot commented Jun 29, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Comment thread samples/constitutions/default/actions.js
@achamayou achamayou merged commit 7d00dd8 into main Jun 29, 2026
20 checks passed
@achamayou achamayou deleted the copilot/formatting-updates-fixes branch June 29, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants