Summary
The project's prettier dependency is pinned to 2.8.4 (released Feb 2023), which is significantly behind the current stable release (3.x).
This version gap causes formatting mismatches when contributors have a newer global prettier installed, leading to CI lint failures that are hard to diagnose (e.g., trailing comma differences between v2 and v3).
Suggested changes
- Update
prettier in ui/package.json to latest 3.x
- Run
npx prettier --write . across the UI codebase to apply any formatting changes
- Review and update
.prettierrc if needed for any new/changed options
- Verify CI lint step passes
Context
Encountered during rebase of #1146 — local prettier 3.x formatted files differently than CI's 2.8.4, causing lint failures.
Summary
The project's prettier dependency is pinned to 2.8.4 (released Feb 2023), which is significantly behind the current stable release (3.x).
This version gap causes formatting mismatches when contributors have a newer global prettier installed, leading to CI lint failures that are hard to diagnose (e.g., trailing comma differences between v2 and v3).
Suggested changes
prettierinui/package.jsonto latest 3.xnpx prettier --write .across the UI codebase to apply any formatting changes.prettierrcif needed for any new/changed optionsContext
Encountered during rebase of #1146 — local prettier 3.x formatted files differently than CI's 2.8.4, causing lint failures.