Skip to content

Format JS/TS with Prettier - #235

Merged
bordoni merged 2 commits into
mainfrom
style/js-format
Oct 17, 2026
Merged

bordoni merged 2 commits into
mainfrom
style/js-format

Conversation

@bordoni

@bordoni bordoni commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Runs wp-scripts format (Prettier) over src/. Formatting only, no behaviour change; kept on its own so the lint fixes in #236 stay readable.

Stacked on #234.

Checked: the production build is byte-identical before and after, and Jest passes (69).

@bordoni
bordoni added this pull request to stack #244 October 17, 2026 17:40
Base automatically changed from docs/changelog-0.10.0 to main October 17, 2026 17:58
Run wp-scripts format (WordPress Prettier config) over every file that
lint:js checks. Vendored qs.js and select2.js are left alone.

Formatting only: Babel ASTs match before/after (ignoring positions, quote
props and insignificant JSX whitespace). The one JSX reflow in
generate-button.tsx renders the same text. Legacy build/js output is
byte-identical.
@bordoni
bordoni merged commit 6a2397d into main Oct 17, 2026
3 of 5 checks passed
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