Skip to content

style: format with the shared oxfmt config - #119

Merged
alexgrozav merged 2 commits into
mainfrom
tabs-reformat-uxf-1017
Nov 25, 2026
Merged

alexgrozav merged 2 commits into
mainfrom
tabs-reformat-uxf-1017

Conversation

@alexgrozav

Copy link
Copy Markdown
Contributor

What changed

The code now follows the shared uxfront style, which indents with tabs. This PR is format-only: it squashes into one commit, and a follow-up PR lists that commit in .git-blame-ignore-revs, so git blame skips it. Readers see no change, so there's no changelog entry. Here's what it holds:

  • The config. @uxfront/oxfmt-config moves from ^0.1.1 to ^0.2.0, which indents with tabs and keeps YAML in two spaces. The lockfile changes only that package. It was published today, so minimumReleaseAgeExclude lists @uxfront/oxfmt-config@0.2.0 until pnpm's 24-hour guard lets it through.
  • .editorconfig. An exact copy of the shared one in uxfront-com/.github, so editors indent the way the formatter does. Running the formatter with and without it gives the same result.
  • The plugin stays as it is. oxfmt.config.ts now ignores plugins/open-components/ and .claude-plugin/. Clients install the plugin straight from main and cache it by its version, so its files change only with a version bump. The Markdown, the reference implementations and the vendored schemas stay ignored too.
  • The formatter's output. pnpm format changed 277 files. Run on main with only the four files above from this PR, it writes exactly this PR. In the .vue templates, the only change you can see in the built pages is a space at the start or end of a paragraph or a caption, which the browser doesn't render.

If you have a branch open, merge main in after this lands, then run pnpm format and commit what it writes.

Checklist

  • The title follows Conventional Commits, as in feat(docs): add the focus guideline.
  • pnpm check-types passes. So do pnpm lint (0 errors), pnpm format:check, pnpm check-reference, pnpm test (3,209 tests), pnpm build, pnpm check-seo, pnpm build:mcp and pnpm check-mcp.
  • Docs changes: the pages read well on pnpm dev. (No docs changes. The Markdown isn't formatted.)
  • Homepage changes: pnpm build, then pnpm lighthouse, still scores 100 in every category.

alexgrozav and others added 2 commits November 25, 2026 09:55
….editorconfig

The plugin and its marketplace entry join the formatter's ignore list, since they ship live from main and change only with a version bump.

Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://tabs-reformat-uxf-1017.opencomponents.dev, https://tabs-reformat-uxf-1017-opencomponents.uxfront.workers.dev (commit db13013)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9ed7f34b.opencomponents.dev, https://9ed7f34b-opencomponents.uxfront.workers.dev db13013 2026-11-25T08:29:26.322Z Visit the dashboard ↗

@alexgrozav
alexgrozav marked this pull request as ready for review November 25, 2026 09:30
@alexgrozav
alexgrozav merged commit 5b14e24 into main Nov 25, 2026
6 checks passed
@alexgrozav
alexgrozav deleted the tabs-reformat-uxf-1017 branch November 25, 2026 18:14
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.

1 participant