Skip to content

chore: update prettier from 2.8.4 to 3.x #1193

@mihow

Description

@mihow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions