Repository navigation
fix(mosaic): suppress model useState lint errors on main - #10156
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 6d74a25 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. 5 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour. 📝 WalkthroughWalkthroughThe ESLint suppression configuration adds one Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change only suppresses two lint violations to restore the package lint check, and runtime behavior is unchanged. No merge-blocking risk was identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Description
mainfails@clerk/mosaic#lint(Static analysis). #9968 (Web3 wallets) and #9992 (active devices) each added a model that keeps fetched data inuseState. They merged around the same time as #10144, which forbidsuseStatein*.model.ts. Each PR passed CI on its own, but together they leavemainred, so every PR that mergesmainnow fails.This PR adds the two violations to
packages/mosaic/eslint-suppressions.jsonas a stopgap. These are the only models that load async data themselves, and no model onmaindoes this withoutuseStateyet, so moving their state needs a pattern decision first. Runtime behavior is unchanged.user-profile-active-devices-section.model.tsuser-profile-solana-wallet.model.tsChecklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
🤖 Generated with Claude Code