Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (18)
📝 WalkthroughWalkthroughThis PR migrates the project's linting and formatting tooling from Biome to OXC (oxlint/oxfmt). It introduces new OXC configuration files, removes Biome configuration, updates all package.json scripts across workspaces, replaces linting suppression comments, adds missing imports for existing features, and normalizes code formatting throughout the codebase to match OXC style rules. ChangesBiome to OXC Tooling Migration
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 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 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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
apps/web/src/components/SearchInput.tsx (1)
1-1: ⚡ Quick winNarrow the exhaustive-deps suppression scope.
Disabling
react-hooks/exhaustive-depsat file scope can mask future dependency regressions in unrelated hooks. Prefer per-hookoxlint-disable-next-linecomments only where needed.Suggested minimal change
-/* oxlint-disable react-hooks/exhaustive-deps -- inputRef is a stable RefObject prop; exhaustive-deps reports stable refs as missing deps in oxlint */ +// Keep rule enabled globally; suppress only on specific hook lines where dependency omission is intentional.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/web/src/components/SearchInput.tsx` at line 1, The file-scoped oxlint suppression disables react-hooks/exhaustive-deps for the whole SearchInput.tsx and should be narrowed: remove the top-of-file comment and instead add targeted per-hook suppressions (e.g., add // oxlint-disable-next-line react-hooks/exhaustive-deps immediately above the specific useEffect/useLayoutEffect inside the SearchInput component that intentionally omits inputRef from its dependency array). Keep references to the stable RefObject prop inputRef in those per-hook comments so other hooks in SearchInput remain lint-checked.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@apps/web/src/components/SearchInput.tsx`:
- Line 1: The file-scoped oxlint suppression disables
react-hooks/exhaustive-deps for the whole SearchInput.tsx and should be
narrowed: remove the top-of-file comment and instead add targeted per-hook
suppressions (e.g., add // oxlint-disable-next-line react-hooks/exhaustive-deps
immediately above the specific useEffect/useLayoutEffect inside the SearchInput
component that intentionally omits inputRef from its dependency array). Keep
references to the stable RefObject prop inputRef in those per-hook comments so
other hooks in SearchInput remain lint-checked.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 4b5678c3-eb47-44a0-beb1-7a4b4e78f5dc
⛔ Files ignored due to path filters (1)
bun.lockis excluded by!**/*.lock
📒 Files selected for processing (70)
.coderabbit.yaml.deepsec/deepsec.config.ts.deepsec/package.json.github/actions/run-phase5-sweep/action.yaml.github/actions/run-playwright-script/action.yaml.github/workflows/hmrc-ingestion.yaml.github/workflows/phase5-sweep-exact.yaml.github/workflows/phase5-sweep-no-match.yaml.github/workflows/phase5-sweep-non-exact.yaml.oxfmtrc.json.oxlintrc.json.vscode/settings.jsonapps/ch-stream/package.jsonapps/ch-stream/src/processor.tsapps/web/README.mdapps/web/package.jsonapps/web/scripts/generate-hmrc-seed-sql.tsapps/web/scripts/generate-sitemap.tsapps/web/scripts/ingest-hmrc-csv.tsapps/web/scripts/phase0a-classify-mappings.tsapps/web/scripts/phase0b-resolve-suspects.tsapps/web/scripts/phase1-apply.tsapps/web/scripts/phase1-sanity-check.tsapps/web/scripts/phase5-sanity-check.tsapps/web/scripts/phase5-sweep.tsapps/web/scripts/render-og.tsapps/web/scripts/seed-companies-house.tsapps/web/scripts/seed-sic-codes.tsapps/web/server/api/revalidate.post.tsapps/web/server/api/tiles/[theme]/[z]/[x]/[y].get.tsapps/web/server/routes/.well-known/vercel/flags.get.tsapps/web/server/utils/withSecret.tsapps/web/src/api/companiesHouse.tsapps/web/src/api/flags.tsapps/web/src/api/geocode.tsapps/web/src/api/hmrc.tsapps/web/src/api/ingestion.tsapps/web/src/components/AddressMap.tsxapps/web/src/components/Footer.tsxapps/web/src/components/Header.tsxapps/web/src/components/HmrcCard.tsxapps/web/src/components/HmrcResults.tsxapps/web/src/components/LastUpdated.tsxapps/web/src/components/LeafletMap.tsxapps/web/src/components/McpTools.tsxapps/web/src/components/NavigationProgress.tsxapps/web/src/components/RouteError.tsxapps/web/src/components/SearchBar.tsxapps/web/src/components/SearchInput.tsxapps/web/src/components/SkeletonCards.tsxapps/web/src/components/ThemeToggle.tsxapps/web/src/fonts.cssapps/web/src/hooks/useHmrcSearch.tsapps/web/src/hooks/useSearchPill.tsapps/web/src/lib/phase5/apply-promotion.test.tsapps/web/src/lib/phase5/db-host.test.tsapps/web/src/lib/phase5/decide.test.tsapps/web/src/lib/phase5/sql.tsapps/web/src/lib/phase5/sweep.test.tsapps/web/src/router.tsxapps/web/src/routes/__root.tsxapps/web/src/routes/company.$id.$slug.tsxapps/web/src/routes/index.tsxapps/web/src/styles.cssapps/web/src/transitions.cssbiome.jsonpackage.jsonpackages/db/package.jsonpackages/db/src/migrate.tspackages/db/src/schema.ts
💤 Files with no reviewable changes (1)
- biome.json
Summary by CodeRabbit
Release Notes