Repository navigation
Add Prettier and a repo-wide format script - #65
Merged
Muhammadcodes112 merged 2 commits intoJul 10, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Formatting wasn't standardized across
apps/frontendandapps/backend. Without a shared formatter, small style differences (quote style, line wrapping, trailing commas) show up as noise in diffs and code review, distracting from the actual logic changes.Solution
.prettierrc.jsonwith project conventions: 2-space indent and LF line endings (matching.editorconfig), double quotes, semicolons, trailing commas everywhere, and a 100-character print width..prettierignorecoveringdist,.next,node_modules,target, andpnpm-lock.yaml.format(prettier --write .) andformat:check(prettier --check .) scripts.eslint-config-prettierto bothapps/frontendandapps/backendand appended it as the last entry in each workspace's ESLint flat config, so any ESLint stylistic rules that conflict with Prettier are disabled and formatting is Prettier's job alone.pnpm formatonce across the repo and committed the resulting formatting-only diff (mostly Markdown table alignment and collapsing a few lines under the new print width) — no logic changes.pnpm format:check,pnpm lint,pnpm typecheck, andpnpm testall pass after the pass.closes #5