Skip to content

Add repository-owned formatting commands - #2025

Closed
cortinico wants to merge 1 commit into
mainfrom
export-D119662614
Closed

Add repository-owned formatting commands#2025
cortinico wants to merge 1 commit into
mainfrom
export-D119662614

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:
Add a single yarn format / yarn format-check contract for Yoga JavaScript and documentation, C-family sources, Kotlin, and the two Python maintenance scripts.

Pin clang-format 21.1.2 through a public DotSlash manifest so it matches the current fbsource formatter, and use ktfmt 0.59.0 and Ruff 0.14.0 across internal and public checkouts. Replace the JavaScript workspace clang-format 15 command, which covered only wasm_bridge.c, with the repository-wide command.

Generated sources and vendored headers remain excluded.

allow-large-files

Differential Revision: D119662614

Summary:
Add a single `yarn format` / `yarn format-check` contract for Yoga JavaScript and documentation, C-family sources, Kotlin, and the two Python maintenance scripts.

Pin clang-format 21.1.2 through a public DotSlash manifest so it matches the current fbsource formatter, and use ktfmt 0.59.0 and Ruff 0.14.0 across internal and public checkouts. Replace the JavaScript workspace clang-format 15 command, which covered only `wasm_bridge.c`, with the repository-wide command.

Generated sources and vendored headers remain excluded.

allow-large-files

Differential Revision: D119662614
@meta-cla meta-cla Bot added the CLA Signed label Sep 11, 2026
@meta-codesync

meta-codesync Bot commented Sep 11, 2026

Copy link
Copy Markdown

@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D119662614.

@meta-codesync

meta-codesync Bot commented Sep 11, 2026

Copy link
Copy Markdown

This pull request has been merged in d7c96ca.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant