Skip to content

style(web): apply prettier formatting to risk indicators - #175

Closed
nedda76 wants to merge 1 commit into
midt-bg:mainfrom
nedda76:style/prettier-risk-indicators
Closed

style(web): apply prettier formatting to risk indicators#175
nedda76 wants to merge 1 commit into
midt-bg:mainfrom
nedda76:style/prettier-risk-indicators

Conversation

@nedda76

@nedda76 nedda76 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

prettier --check . (the Lint CI job) is failing on main because two files merged in 5d53c0b ("feat(web): risk indicators on the contract page") were never formatted:

  • apps/web/app/components/RiskIndicators.tsx — long JSX text not wrapped to print width
  • apps/web/app/lib/riskLogic.test.ts — long expectations not wrapped; 0.200.2

Since lint runs repo-wide, this turns every open PR's CI red, not just one. This applies prettier --write to the two files (pinned 3.8.3). Formatting only — no behavior change.

Fixes the red Lint check on main; unblocks open PRs (e.g. #174) once rebased.

@nedda76

nedda76 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator Author

Затварям като излишен — същата prettier поправка за RiskIndicators.tsx и riskLogic.test.ts вече е включена в #174 (commit 75418b2, CI зелено). След merge на #174 промяната влиза в main.

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