Skip to content

style(ui): prettier formatting pass over the dashboard#29622

Open
ryan-crabbe-berri wants to merge 1 commit into
litellm_internal_stagingfrom
litellm_ui_prettier_enforce
Open

style(ui): prettier formatting pass over the dashboard#29622
ryan-crabbe-berri wants to merge 1 commit into
litellm_internal_stagingfrom
litellm_ui_prettier_enforce

Conversation

@ryan-crabbe-berri
Copy link
Copy Markdown
Collaborator

@ryan-crabbe-berri ryan-crabbe-berri commented Jun 3, 2026

Relevant issues

Linear ticket

Refs LIT-3556

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have requested a Greptile review by commenting @greptileai and received a Confidence Score of at least 4/5 before requesting a maintainer review

Screenshots / Proof of Fix

Prettier is configured in the UI (.prettierrc, format/format:check scripts) but the codebase had drifted out of compliance. This is a mechanical prettier --write . pass that brings every file into line; it changes formatting only, no logic.

Before, format:check failed on 608 files; after the pass it is clean:

$ npm run format:check   # before
Checking formatting...
[warn] ... 608 files ...
[warn] Code style issues found in 608 files. Run Prettier to fix.

$ npm run format         # prettier --write .
$ npm run format:check   # after
Checking formatting...
All matched files use Prettier code style!

npm ci && npm run build still passes after the pass, confirming nothing broke.

Enforcing the check in CI is intentionally left to a follow-up PR so this one stays a reviewable, logic-free diff.

Type

🧹 Refactoring

Changes

A single formatting-only pass (prettier --write .) over ui/litellm-dashboard, touching 608 files. Reflows, quote normalization, and trailing commas only; no behavior changes. Tailwind class sorting and import sorting were intentionally left out to avoid scope creep.

@ryan-crabbe-berri ryan-crabbe-berri requested a review from a team June 3, 2026 21:30
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Jun 3, 2026

Too many files changed for review. (610 files found, 100 file limit)

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ryan-crabbe-berri ryan-crabbe-berri force-pushed the litellm_ui_prettier_enforce branch 3 times, most recently from 9e13637 to 100f407 Compare June 3, 2026 21:51
Formatting-only pass; no logic changes. Brings the UI into compliance
with .prettierrc so the new format-check CI job passes
@ryan-crabbe-berri ryan-crabbe-berri force-pushed the litellm_ui_prettier_enforce branch from 100f407 to 1b06a42 Compare June 3, 2026 22:42
@ryan-crabbe-berri ryan-crabbe-berri changed the title ci(ui): enforce prettier on the dashboard + format existing files style(ui): prettier formatting pass over the dashboard Jun 3, 2026
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