Skip to content

style: format the codebase with Prettier#2443

Merged
frankensteinke merged 1 commit into
developfrom
chore/prettier-format-sweep
Jun 23, 2026
Merged

style: format the codebase with Prettier#2443
frankensteinke merged 1 commit into
developfrom
chore/prettier-format-sweep

Conversation

@frankensteinke

@frankensteinke frankensteinke commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Second of a 3-PR stack for #2347. One-time mechanical formatting sweep.

  • Produced by pnpm prettier --write .no logic changes, only formatting (semicolons, multi-line arrays/imports, quote and trailing-comma normalization, YAML/JSON/CSS whitespace).
  • 103 files: mostly docs/**/*.mdx (embedded JSX/code samples) plus ~26 source files, workflow YAML, and a few others.
  • Generated VPATs and local Claude scratch are excluded via the ignore config in the parent PR (chore: ignore generated VPATs and local Claude files before Prettier sweep #2442).

Base automatically changed from chore/prettier-ignore-setup to develop June 18, 2026 19:22
One-time mechanical sweep produced by `pnpm prettier --write .`. No
logic changes — only formatting (semicolons, multi-line arrays/imports,
quote and trailing-comma normalization, YAML/JSON/CSS whitespace).

Generated VPATs and local Claude scratch are excluded via the ignore
config added in the parent commit.

Refs #2347
@frankensteinke
frankensteinke force-pushed the chore/prettier-format-sweep branch from d85641d to 855b93c Compare June 18, 2026 19:38
@frankensteinke

Copy link
Copy Markdown
Contributor Author

Rebased onto develop after #2442 merged — the squash-merge of #2442 introduced a duplicate of the ignore-setup commit, which caused the conflict. Dropped that redundant commit so this branch is now just the mechanical formatting commit on top of develop. No content change to the sweep itself.

@frankensteinke
frankensteinke marked this pull request as ready for review June 18, 2026 19:45
@frankensteinke
frankensteinke requested review from a team as code owners June 18, 2026 19:45
Copilot AI review requested due to automatic review settings June 18, 2026 19:45
@frankensteinke
frankensteinke enabled auto-merge (squash) June 18, 2026 19:45

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

One-time mechanical sweep applying the repo’s Prettier configuration across source, docs (MDX), styles, and GitHub workflow/config files to eliminate formatting drift ahead of CI enforcement (stacked PR for #2347).

Changes:

  • Reformats JS/TS/TSX/MDX/HTML/CSS/YAML/JSON to match Prettier output (quotes, semicolons, wrapping, indentation, trailing commas).
  • Normalizes docs MDX code samples/props tables formatting for consistent rendering.
  • Re-indents/normalizes GitHub Actions workflow and config YAML formatting.

Reviewed changes

Copilot reviewed 93 out of 103 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
webpack.config.mjs Prettier formatting (semicolons/quotes/indentation).
playwright/index.html HTML doctype casing normalized by Prettier.
packages/styles/text-field-wrapper.css CSS value wrapping/indentation for long box-shadow.
packages/styles/radio-card.css CSS value wrapping/indentation for long box-shadow.
packages/styles/navbar.css CSS value wrapping/indentation for long box-shadow.
packages/react/src/utils/polymorphicComponent.test.tsx Type formatting/wrapping for interface extends.
packages/react/src/components/TopBar/TopBarMenu.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/TextField/index.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/Table/TableCell.tsx Type formatting/wrapping for internal props interface.
packages/react/src/components/Select/index.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/SectionHeader/index.tsx Interface formatting to single line per Prettier.
packages/react/src/components/SearchField/index.tsx Type formatting/wrapping for internal props interface.
packages/react/src/components/Panel/PanelContent.tsx Interface formatting to single line per Prettier.
packages/react/src/components/Panel/Panel.tsx Ternary indentation normalized by Prettier.
packages/react/src/components/OptionsMenu/OptionsMenuWrapper.tsx Interface extends formatting normalized.
packages/react/src/components/OptionsMenu/OptionsMenuTrigger.tsx Interface formatting to single line per Prettier.
packages/react/src/components/OptionsMenu/OptionsMenuList.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/OptionsMenu/OptionsMenuItem.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/Notice/index.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/LoaderOverlay/index.tsx Interface formatting to single line per Prettier.
packages/react/src/components/Listbox/ListboxGroup.tsx Type formatting/wrapping for internal props interface.
packages/react/src/components/Link/index.tsx Interface formatting to single line per Prettier.
packages/react/src/components/ImpactBadge/index.tsx Type formatting/wrapping for internal props interface.
packages/react/src/components/IconButton/IconButton.test.tsx Function wrapping/indentation normalized in tests.
packages/react/src/components/FieldWrap/index.tsx Type formatting/wrapping for internal props interface.
packages/react/src/components/ExpandCollapsePanel/PanelTrigger.tsx Type formatting/wrapping for exported props interface.
packages/react/src/components/Alert/index.tsx Type formatting/wrapping for internal props interface.
packages/react/.babelrc JSON indentation normalized by Prettier.
docs/utils/slugify.ts Function formatting normalized by Prettier.
docs/remark-plugins.mjs Formatting normalization (semicolons/arrays/indentation).
docs/pages/theming.mdx MDX code sample formatting normalized.
docs/pages/styles.mdx MDX prose wrapping normalized.
docs/pages/intro.mdx MDX frontmatter quotes + code sample semicolons normalized.
docs/pages/foundations/spacing.mdx MDX import formatting normalized.
docs/pages/foundations/colors.mdx MDX frontmatter + array quoting/wrapping normalized.
docs/pages/components/TwoColumnPanel.mdx MDX code sample wrapping/indentation normalized.
docs/pages/components/TopBar.mdx MDX code sample wrapping/indentation normalized.
docs/pages/components/TooltipTabstop.mdx MDX code sample/prose wrapping normalized.
docs/pages/components/Tooltip.mdx MDX imports/code samples wrapping normalized.
docs/pages/components/Timeline.mdx MDX formatting + props arrays wrapping normalized.
docs/pages/components/TextField.mdx MDX note content wrapping/spacing normalized.
docs/pages/components/TextEllipsis.mdx MDX prose/code formatting normalized.
docs/pages/components/TagButton.mdx MDX props description wrapping normalized.
docs/pages/components/Tabs.mdx MDX code sample wrapping normalized.
docs/pages/components/Stepper.mdx MDX code sample wrapping normalized.
docs/pages/components/SkipLink.mdx MDX code sample line-wrapping normalized.
docs/pages/components/Select.mdx MDX note content wrapping/spacing normalized.
docs/pages/components/SearchField.mdx MDX note content wrapping/spacing normalized.
docs/pages/components/Scrim.mdx MDX prose/props formatting normalized.
docs/pages/components/RadioGroup.mdx MDX examples/props wrapping normalized.
docs/pages/components/RadioCardGroup.mdx MDX examples/props wrapping normalized.
docs/pages/components/ProgressBar.mdx MDX example formatting normalized.
docs/pages/components/Popover.mdx MDX examples/props wrapping normalized.
docs/pages/components/Panel.mdx MDX note wrapping normalized.
docs/pages/components/Pagination.mdx MDX examples/props wrapping normalized.
docs/pages/components/OptionsMenu.mdx MDX examples/props wrapping normalized.
docs/pages/components/Offscreen.mdx MDX props block formatting normalized.
docs/pages/components/Notice.mdx MDX prose whitespace normalized.
docs/pages/components/NavBar.mdx MDX examples/props wrapping normalized.
docs/pages/components/Modal.mdx MDX note/props wrapping normalized.
docs/pages/components/LoaderOverlay.mdx MDX example wrapping normalized.
docs/pages/components/Loader.mdx MDX props wrapping normalized.
docs/pages/components/Listbox.mdx MDX examples/props blocks reformatted for readability.
docs/pages/components/Line.mdx MDX spacing around props section normalized.
docs/pages/components/Layout.mdx MDX note/props block wrapping normalized.
docs/pages/components/ImpactBadge.mdx MDX spacing/props array formatting normalized.
docs/pages/components/IconButton.mdx MDX whitespace and examples wrapping normalized.
docs/pages/components/Icon.mdx MDX examples/related links formatting normalized.
docs/pages/components/FieldWrap.mdx MDX examples wrapping normalized.
docs/pages/components/FieldGroup.mdx MDX examples/props wrapping normalized.
docs/pages/components/ExpandCollapsePanel.mdx MDX examples/props wrapping normalized.
docs/pages/components/EmptyState.mdx MDX examples/props formatting normalized.
docs/pages/components/Drawer.mdx MDX examples/props wrapping normalized.
docs/pages/components/DescriptionList.mdx MDX examples/props formatting normalized.
docs/pages/components/CopyButton.mdx MDX examples formatting normalized.
docs/pages/components/Combobox.mdx MDX note formatting/spacing normalized.
docs/pages/components/Code.mdx MDX code sample wrapping normalized.
docs/pages/components/ClickOutsideListener.mdx MDX code fence formatting normalized.
docs/pages/components/Checkbox.mdx MDX examples/props wrapping normalized.
docs/pages/components/Button.mdx MDX props array wrapping normalized.
docs/pages/components/Breadcrumb.mdx MDX examples/props formatting normalized.
docs/pages/components/BottomSheet.mdx MDX examples/props formatting normalized.
docs/pages/components/AnchoredOverlay.mdx MDX examples/props formatting normalized.
docs/pages/components/Alert.mdx MDX examples/props formatting normalized.
docs/pages/components/Address.mdx MDX props formatting normalized.
docs/pages/components/ActionMenu.mdx MDX examples/props formatting normalized.
docs/pages/components/ActionList.mdx MDX examples/props formatting normalized.
docs/pages/components/Accordion.mdx MDX examples/props formatting normalized.
docs/pages/components.mdx MDX whitespace normalized.
docs/index.html HTML doctype casing normalized by Prettier.
docs/components/ComponentProps.tsx Ternary indentation normalized by Prettier.
.github/workflows/vpat-sla.yaml YAML whitespace normalized.
.github/workflows/vpat-labeler.yml YAML indentation/quoting normalized.
.github/workflows/vpat-create.yml YAML whitespace normalized.
.github/workflows/update-browserslist-db.yml YAML whitespace normalized.
.github/workflows/tag-release.yml YAML whitespace normalized.
.github/workflows/sync-branches.yml YAML quoting normalized.
.github/workflows/semantic-pr-title.yml YAML whitespace normalized.
.github/workflows/release.yml YAML whitespace normalized.
.github/workflows/lint.yml YAML whitespace normalized.
.github/ISSUE_TEMPLATE/new_component.md Markdown comment whitespace normalized.
.github/ISSUE_TEMPLATE/BUG.yml YAML quoting normalized.
.github/dependabot.yml YAML quoting normalized.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/pages/components/TwoColumnPanel.mdx
Comment thread docs/pages/components/ProgressBar.mdx

@rheisler-deque rheisler-deque 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.

I ran Prettier and checked that it doesn't change anything.

No blocking issues from me. The two docs bugs Copilot flagged (duplicate aria-current, the aria-label typo) are pre-existing and already deferred to #2445, which is good for a sweep like this.

When you merge this, please notify everyone in the cauldron channel that they may run into merge conflicts.

@frankensteinke
frankensteinke merged commit 9e9bd2a into develop Jun 23, 2026
9 checks passed
@frankensteinke
frankensteinke deleted the chore/prettier-format-sweep branch June 23, 2026 14:21
frankensteinke added a commit that referenced this pull request Jun 25, 2026
…es (#2445)

- TwoColumnPanel example set aria-current twice on the same <a>; drop
  the duplicate so copy/pasted samples are not confusing.
- ProgressBar animated example aria-label read "Animated Progres";
  correct to "Animated Progress".

Both surfaced by Copilot review on #2443.
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.

4 participants