fix: resolve biome formatter lint errors#51
Conversation
- src/api.ts: collapse multi-line ternary to single line - src/locales/en.ts: break long string value onto new line - src/locales/zh.ts: break long string value onto new line
|
Lost in the diff? Review this PR in Change Stack to follow the change map from intent to exact ranges. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR reformats error handling and localization strings across three files. The upload error message computation uses a more compact conditional expression, and locale entries for proxy network error tips are split into multi-line property definitions in English and Chinese without changing any string content or logic. ChangesCode Formatting
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
修复 biome check 报出的 3 个格式化错误:
src/api.ts: 多行三元表达式合并为单行src/locales/en.ts: 长字符串值换行src/locales/zh.ts: 长字符串值换行Test Plan
bun run lint通过,无报错Summary by CodeRabbit
Refactor
Style