Clean up lint warnings left after the framework dependency bump #3
Labels
No labels
area/auth
area/backend
area/ci
area/deploy
area/e2e
area/frontend
area/shared
blocked
good-first-issue
needs-info
priority/high
priority/low
priority/medium
type/bug
type/chore
type/docs
type/feature
type/tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
celilo/lunacycle#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The framework dep bump (commit
ad57275: React 19, zod 4, TS 6, eslint 10, eslint-plugin-react-hooks 7, etc.) is error-free on lint, but left 10 warnings behind. They don't fail the build, but worth clearing.Known warnings
@typescript-eslint/no-unused-vars—packages/shared/src/lib/lunarPhase.ts(LunarPhase,LunarMonth,date),packages/trpc-utils/src/lib/middleware.ts(error)react-hooks/exhaustive-deps—apps/lunacycle-web/src/contexts/AuthContext.tsx,apps/nigredo-web/src/contexts/AuthContext.tsx(missingrefreshAccessTokendep; effect intentionally runs once on mount — decide: wrap inuseCallback+ add dep, or document)react-refresh/only-export-components—apps/lunacycle-web/src/pages/Admin.tsx(non-component export in a component file)Notes
Run
bun run lintfor the live list. Some are trivial (drop unused imports); theexhaustive-depsones in the AuthContexts need a small judgment call now that the helpers are hoisted (seead57275).Acceptance criteria
bun run lintreports 0 warnings, or each remaining warning has a deliberate inline suppression with justification.