[GH-ISSUE #5181] [Feature]: Enforce Prettier in project checks #2866

Closed
opened 2026-10-21 05:57:12 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5181

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara Engine already installs Prettier and exposes a write-only pnpm format command, but pnpm check and pull-request CI do not verify formatting. The current TypeScript/TSX scope has accumulated formatting drift.

Proposed change

  • Add a non-mutating pnpm format:check command for the same maintained TypeScript/TSX scope as pnpm format.
  • Include the formatter check in pnpm check, which is already run by pull-request CI.
  • Run Prettier once across the current maintained scope so the new gate starts green.
  • Document the formatter and lint commands in contributor guidance.

Acceptance criteria

  • pnpm format:check fails on formatting drift and passes on the repository baseline.
  • pnpm lint remains green.
  • pnpm check enforces both formatting and linting without changing application behavior.
Originally created by @SpicyMarinara on GitHub (Aug 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5181 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara Engine already installs Prettier and exposes a write-only `pnpm format` command, but `pnpm check` and pull-request CI do not verify formatting. The current TypeScript/TSX scope has accumulated formatting drift. ## Proposed change - Add a non-mutating `pnpm format:check` command for the same maintained TypeScript/TSX scope as `pnpm format`. - Include the formatter check in `pnpm check`, which is already run by pull-request CI. - Run Prettier once across the current maintained scope so the new gate starts green. - Document the formatter and lint commands in contributor guidance. ## Acceptance criteria - `pnpm format:check` fails on formatting drift and passes on the repository baseline. - `pnpm lint` remains green. - `pnpm check` enforces both formatting and linting without changing application behavior.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 17, 2026):

I am taking this issue now on chore/5181-prettier-check. I will keep the existing TypeScript/TSX formatter scope, make it a required project check, and separate the mechanical Prettier baseline from the tooling configuration commit.

<!-- gh-comment-id:5313375760 --> @SpicyMarinara commented on GitHub (Aug 17, 2026): I am taking this issue now on `chore/5181-prettier-check`. I will keep the existing TypeScript/TSX formatter scope, make it a required project check, and separate the mechanical Prettier baseline from the tooling configuration commit.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2866
No description provided.