Repository navigation
chore(backend): close lint debt and enforce strict route typing - #147
Conversation
✅ Deploy Preview for regal-bunny-0c8efe ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR removes backend lint ignore patterns and introduces schema-based request validation with userId authentication guards across multiple routes and middleware, making the entire backend subject to strict linting rules. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
🚥 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 |
|
|


Summary
Closes #136
Changes
packages/backend/package.jsonlint:baseignore-pattern guardrail scriptlintnow runs strict backend lint directlypackages/backend/src/middleware/session.tssession-file-storeimport usagepackages/backend/src/middleware/validate.tszodparse outputmanagement.tsmanagementAutoMessages.tsmanagementEmbeds.tsmoderation.tsmusic/playbackRoutes.tsmusic/queueRoutes.tsmusic/stateRoutes.tstoggles.tstwitch.tslastfm.tsREADME.mdstrict backend lint wordingCHANGELOG.mdunreleased notes for lint-debt closureVerification
npm run lint:full --workspace=packages/backendnpm run lintnpm run type:checknpm testAll commands passed locally.
Summary by CodeRabbit
Release Notes
New Features
/api/health/auth-configendpoint to verify OAuth and session configuration status.Improvements