Repository navigation
駅数制限の環境変数を定数に置き換え - #6300
駅数制限の環境変数を定数に置き換え#6300
Conversation
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (3)
📝 WalkthroughWalkthrough
Changesリミット値のハードコード化
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. Comment |
概要
NEARBY_STATIONS_LIMITとSEARCH_STATION_RESULT_LIMITの環境変数を削除し、コード内の定数に置き換え。不要なTECHNICAL_DEBT.mdを削除変更の種類
変更内容
.env.exampleからNEARBY_STATIONS_LIMIT/SEARCH_STATION_RESULT_LIMITを削除react-native-dotenvの型宣言から両変数を削除StationSearchModalのNEARBY_STATIONS_LIMIT参照をリテラル10に置換RouteSearchScreenのSEARCH_STATION_RESULT_LIMITをファイルローカル定数100に置換し、Number.parseIntを除去TECHNICAL_DEBT.mdを削除テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
Summary by CodeRabbit
Chores
Refactor