Skip to content

misc: cleanup - #249

Open
mattjohnsonpint wants to merge 2 commits into
mainfrom
mjp/prettier-cleanup
Open

misc: cleanup#249
mattjohnsonpint wants to merge 2 commits into
mainfrom
mjp/prettier-cleanup

Conversation

@mattjohnsonpint

Copy link
Copy Markdown
Contributor

Just some prettier formatting

The format scripts only cover src/**/*.ts and examples/**/*.{ts,json,jsonc},
so markdown, the prettier config itself, and the plain JS example servers
had drifted from the repo style.

Changes are cosmetic: trailing newlines, blank lines around markdown lists,
quote style, and stray trailing whitespace. The two example server.js files
were verified to parse as ES modules and to be identical modulo quotes,
whitespace, and semicolons.
Point the format scripts at "." and let .prettierignore decide what is
excluded, instead of maintaining a narrow glob list that silently let
markdown, config, and plain JS drift.

.prettierignore already covers node_modules, dist, the lockfile, generated
worker types, .wrangler, .changeset, and CHANGELOG.md, so changesets and
generated files stay unchecked.

This widens the set of files CI enforces from TypeScript plus example
JSON to also include markdown, yaml, and JS. The repo is clean under the
new scope.
@mattjohnsonpint
mattjohnsonpint requested a review from a team as a code owner August 22, 2026 00:53
@pkg-pr-new

pkg-pr-new Bot commented Aug 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/containers@249

commit: 2b65b50

@ask-bonk

ask-bonk Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

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