Skip to content

chore(workflows): share current formatter defaults - #11

Merged
WillieCubed merged 1 commit into
mainfrom
codex/current-native-formatters
Oct 24, 2026
Merged

WillieCubed merged 1 commit into
mainfrom
codex/current-native-formatters

Conversation

@WillieCubed

Copy link
Copy Markdown
Contributor

TL;DR

Use the published Studio formatting preset and current formatter engines for repository source and configuration. Keep native style files authoritative while local commands and commit hooks use the same reviewed pins.

Changes

  • Import @thehypertextstudio/format-config through a thin repository config; retain existing native styles and genuine parser plugins.
  • Prepare exact Prettier 3.9.10 and Ruff 0.17.2 with a real dependency lock. Serialize shared-cache setup and bind caches to the complete lock.
  • Keep tool downloads in setup, preserve existing commit checks, and refuse formatting that would lose staged or unstaged content.

Validation: Swift/native-addon tests pass, including Terraform stdin formatting and invalid-source rejection. Shared-preset imports resolve to the same configuration across all 14 native repositories. Four representative installed-hook commit fixtures pass; this does not establish every repository’s full CI acceptance.

Follow-ups and Next Work

Retain the existing product build and release acceptance gates.

Use the published Studio format preset for the repository's existing
formatting commands and staged-byte adapters. Keep genuine native style
files authoritative and pin the formatter engines used by local checks.

Prepare the exact shared package, Prettier and Ruff during setup with a
real dependency lock. Commit hooks use verified cached tools and retain
staged, unstaged and unrelated content when formatting fails.

Co-authored-by: Codex <noreply@openai.com>
@WillieCubed
WillieCubed merged commit 31fd2b9 into main Oct 24, 2026
2 checks passed
@WillieCubed
WillieCubed deleted the codex/current-native-formatters branch October 24, 2026 09:42
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