style: format the codebase with Prettier#2443
Conversation
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
d85641d to
855b93c
Compare
There was a problem hiding this comment.
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.
rheisler-deque
left a comment
There was a problem hiding this comment.
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.
Second of a 3-PR stack for #2347. One-time mechanical formatting sweep.
pnpm prettier --write .— no logic changes, only formatting (semicolons, multi-line arrays/imports, quote and trailing-comma normalization, YAML/JSON/CSS whitespace).docs/**/*.mdx(embedded JSX/code samples) plus ~26 source files, workflow YAML, and a few others.