Skip to content

chore: reformat codebase with Prettier and add CI enforcement#782

Merged
BYK merged 1 commit intomasterfrom
byk/chore/prettier-reformat
Mar 25, 2026
Merged

chore: reformat codebase with Prettier and add CI enforcement#782
BYK merged 1 commit intomasterfrom
byk/chore/prettier-reformat

Conversation

@BYK
Copy link
Copy Markdown
Member

@BYK BYK commented Mar 25, 2026

Prettier has been installed as a devDependency but was never enforced — no format script, no CI check. This caused 30+ files to drift from the configured style, meaning PRs would randomly include formatting changes mixed with logic changes.

Changes

  • package.json: Add format (prettier --write .) and format:check (prettier --check .) scripts
  • .prettierignore: Exclude pnpm-lock.yaml, temp_*/, and docs/ from formatting
  • .github/workflows/lint.yml: Add a Format Check step before Type Check and Lint so PRs with formatting drift fail CI
  • 40 files reformatted: Formatting-only changes (no logic modifications) across source, test, config, and markdown files

@BYK BYK marked this pull request as ready for review March 25, 2026 22:03
- Add 'format' and 'format:check' scripts to package.json
- Update .prettierignore to exclude pnpm-lock.yaml, temp_*/, and docs/
- Add Format Check step to CI lint workflow
- Reformat all source files with Prettier (formatting-only, no logic changes)
@BYK BYK force-pushed the byk/chore/prettier-reformat branch from 1b0ed90 to 2313764 Compare March 25, 2026 23:13
@BYK BYK merged commit 63ed0bf into master Mar 25, 2026
18 checks passed
@BYK BYK deleted the byk/chore/prettier-reformat branch March 25, 2026 23:33
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