Problem
The repository lacks a standard Prettier configuration and script, making it difficult to enforce the clean code styles required for a large open-source project.
Expected behavior
A .prettierrc file is configured for standard Next/React development (e.g., single quotes, trailing commas) and a format script is added to package.json.
Files to update
.prettierrc (create)
package.json
Project relevance
Ensures uniform code formatting across all PRs, eliminating "style-only" diff noise during code reviews.
Acceptance criteria
Problem
The repository lacks a standard
Prettierconfiguration and script, making it difficult to enforce the clean code styles required for a large open-source project.Expected behavior
A
.prettierrcfile is configured for standard Next/React development (e.g., single quotes, trailing commas) and aformatscript is added topackage.json.Files to update
.prettierrc(create)package.jsonProject relevance
Ensures uniform code formatting across all PRs, eliminating "style-only" diff noise during code reviews.
Acceptance criteria
npm run formatsuccessfully formats all files in thesrcdirectory