refactor(eslint): Etapas 14-16 — elimina top arquivos do baseline (442→177)#209
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Your plan currently allows 1 review/hour. Refill in 43 minutes and 15 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, 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 trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (116)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Etapas 14-16 — eliminação dos top arquivos do baseline ESLint
Conclui as Etapas 14-16 do plano de 20 passos (PR #124). Branch criada a partir do
mainatual (c832c1f), diff limpo.Arquivos-alvo levados a 0 problemas de lint
SupabaseConnectionsTab.tsxCatalogContent.tsx,ProductQuickView.tsxuseSimulatorWizard.ts(15× react-hooks/exhaustive-deps viadispatchestável de useReducer),useGlobalSearch.tsAbordagem (tsc-safe)
_em identificadores não usados (params/catch/const), preservando destructuring/bindings.dispatch(estável) adicionado a 15 deps arrays douseSimulatorWizard.Resultado
.eslint-baseline.jsonregenerado sobre o main atual.check-eslint-baseline.mjs: verde (177 = 177, sem regressão)..tsc-baseline.jsonintacto — PR puramente de lint.Substitui o #207 (que tinha merge-base antigo e diff poluído).
Summary by cubic
Cut ESLint baseline errors from 442 to 177 by cleaning unused code and fixing hook dependencies across top offenders. Lint-only refactor with no runtime changes; regenerated
.eslint-baseline.json,check-eslint-baseline.mjspasses, and.tsc-baseline.jsonremains unchanged._.react-hooks/exhaustive-depsby adding stabledispatchinuseSimulatorWizard(15 deps arrays).SupabaseConnectionsTab.tsx,CatalogContent.tsx,ProductQuickView.tsx,useSimulatorWizard.ts,useGlobalSearch.ts.Written for commit ed5cf0a. Summary will update on new commits. Review in cubic